Class

atg.servlet.pipeline.ServletPathDispatcherPipelineServlet

Component

/atg/dynamo/servlet/pipeline/ServletPathDispatcher (DAS)

ServletPathDispatcher is a subclass of DispatcherPipelineServlet that sends a request to one of several servlets based on the servletPaths property of the request. The servletPaths must have been set previously using ServletPathServlet.

The mapping from servletPath to servlet is specified in the dispatcherServiceMap property. For example:

dispatcherServiceMap=\
        /exittracking=ExitTracking,\
        /cgi-bin=CgiServlet

If a request has a servletPath of /exittracking, then the request will be sent to the ExitTracking servlet. If a request has a servletPath of /cgi-bin, then the request will be sent to the CgiServlet servlet. If the request has none of these servlet paths, then the request is sent to the next servlet in the pipeline.

Remember that in order to add an entry to this map, you also have to add a value to the servletPaths property of the ServletPathServlet component.

 
loading table of contents...