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 #778502] Thu, 12 January 2012 22:16 Go to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
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 #778507 is a reply to message #778502] Thu, 12 January 2012 22:57 Go to previous 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
Previous Topic:RAP to access outside Singleton class
Next Topic:Add Servlet Filter
Goto Forum:
  


Current Time: Sun Oct 24 00:28:26 GMT 2021

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

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

Back to the top