Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Add Servlet Filter
Add Servlet Filter [message #778503] Thu, 12 January 2012 22:16 Go to next message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
Hi

I want to add Filter

<filter>
<filter-name>reqPerfLogger</filter-name>
<filter-class>RequestPerfLogger</filter-class>
</filter>

to

org.eclipse.equinox.servletbridge.BridgeServlet Servlet.

I made the change in the web.xml file and i have to manually copy the file in the classes folder.

Is there elegant way to add filter servlet??

Thanks
Raj
Re: Add Servlet Filter [message #778508 is a reply to message #778503] Thu, 12 January 2012 22:57 Go to previous messageGo to next message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

See the extension point org.eclipse.equinox.http.registry.filters in org.eclipse.equinox.http.registry. It will let you register a Filter defined in your bundle.

Cole
Re: Add Servlet Filter [message #778517 is a reply to message #778508] Fri, 13 January 2012 02:12 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
It worked.

Thanks
Rajn
Re: Add Servlet Filter [message #778518 is a reply to message #778508] Fri, 13 January 2012 02:12 Go to previous message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
It worked.

Thanks
Rajn
Previous Topic:Add Servlet Filter
Next Topic:Request the footer or fix row implement for tableviewer?
Goto Forum:
  


Current Time: Thu Apr 18 09:27:11 GMT 2024

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

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

Back to the top