Skip to main content



      Home
Home » Eclipse Projects » Equinox » ServletBridge and Servlet Filters
ServletBridge and Servlet Filters [message #85156] Mon, 26 March 2007 14:54 Go to next message
Eclipse UserFriend
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
Re: ServletBridge and Servlet Filters [message #85257 is a reply to message #85156] Mon, 26 March 2007 22:41 Go to previous message
Eclipse UserFriend
I saw there is an enhancement in Bugzilla (bug #128067) that provides a
solution about it.

Is there any work already on this direction?

Thanks,

RJB
Previous Topic:newbie: how should bundle code log in equinox?
Next Topic:log4j bundle
Goto Forum:
  


Current Time: Fri May 09 07:02:11 EDT 2025

Powered by FUDForum. Page generated in 0.08163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top