...
Where componentid
equals the ID of the component definition. The servlet component definition contains properties that you must pay particular attention to with regard to servlets. These property methods are:
Method | Description |
---|
setName | Sets the name of the component but sets also the servlet name (returned by javax.servlet.HttpServlet.getServletName() . |
setServletClassName | Sets the class name of the servlet to be instantiated by the servlet component. |
setProperties | Defines the init parameters usually defined by adding init-param attributes to the servlet definition in the web.xml . These properties can be retrieved from javax.servlet.HttpServlet.getInitParameter() and javax.servlet.HttpServlet.getInitParameterNames |
Note |
---|
The ServletContext of this servlet is the same as the ServletContext of nl.gx.webmanager.servlet.WCBDispatcherServlet since this is the servlet that dispatches all incoming HTTP requests to the appropriate component servlets. |
...