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

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.