[jboss-user] [JBoss Web Services Users] - Re: How to run a Filter before the WebService to alter the S

shadowcreeper do-not-reply at jboss.com
Wed Dec 9 15:03:30 EST 2009


Never mind, it was easier than I thought. The servlet doesn't do anything until after the filters run, so all you have to do is pass in a modified ServletRequest to the next filter on the chain.

The trickiest part is faking an HttpServletRequest with the modified String as the ServletInputStream.

Thanks.
-Shadow

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269872#4269872

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269872



More information about the jboss-user mailing list