Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Servlet Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

3.3 Defining the Servlet

Each servlet must define a function for the HydraExpress servlet container to use to load the servlet. The RWSF_DEFINE_SERVLET macro takes the name of the servlet class, an argument, and expands to an appropriate function. For the HelloWorldExample servlet, the servlet class is named HelloWorldExample. Therefore, the servlet implementation file contains the line below:

Since the macro expands to a function, the macro must appear in only one file for each servlet. For more details on the macro, see Section 6.5, "Defining Filters, Servlets, and Listeners."



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.