Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Servlet Development Guide

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 as 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.4, "Defining Filters, Servlets, and Listeners."



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.