ServletBridge and Servlet Filters [message #85156] |
Mon, 26 March 2007 14:54  |
Eclipse User |
|
|
|
Hi,
I looked at the BridgeServlet implementation and noticed it is starting
the Equinox runtime (via frameworkLauncherClass) and delegating the actual
requests to the registered Servlets at the time of servicing.
I wanted to integrate this technology with Struts-2.0 but it uses a
Servlet Filter to do the actual job and it does not have a Servlet that
can be used to delegate the requests to. The FilterDispatcher filter used
by struts is looking at the ActionMapping (from configuration) to see if
the request can be handled by Struts; in case it does not find a map, the
filter chain is executed. The actual Struts handling is performed by a
Dispatcher class (that is initialized by the FilterDispatcher).
Do you think it is possible to create a Servlet to initialize the Struts
Dispatcher and forward the requests to it?
Or, Is there any other way to include the Struts FilterDispatcher and used
in boundles in a similar way to the BridgeServlet?
Thanks,
RJB
|
|
|
|
Powered by
FUDForum. Page generated in 0.08163 seconds