This content has been marked as final.
Show 1 reply
-
1. Re: How to run a Filter before the WebService to alter the S
shadowcreeper Dec 9, 2009 3:03 PM (in response to shadowcreeper)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