users@jersey.java.net

[Jersey] How to set PostReplaceFilter before other filters?

From: Tony Dong <leftwin_at_gmail.com>
Date: Mon, 21 Feb 2011 01:20:34 -0800 (PST)

Hi

I was able to register PostReplaceFilter in my servlet:

        <servlet>
                <servlet-name>myServlet</servlet-name>
        
<servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class>
                <init-param>
                
<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
                
<param-value>com.sun.jersey.api.container.filter.PostReplaceFilter</param-value>
                </init-param>
                <load-on-startup>1</load-on-startup>
        </servlet>

But I wanna change POST method to PUT before all other filters, like some
security filters.
How can I configure it in web.xml?

Thanks so much.
-- 
View this message in context: http://jersey.576304.n2.nabble.com/How-to-set-PostReplaceFilter-before-other-filters-tp6048010p6048010.html
Sent from the Jersey mailing list archive at Nabble.com.