I'm doing some url rewriting at the moment and I wonder where to place the 
UrlRewriteFilter into the filter chain. I have seen that the generated web.xml 
has a comment for that filter at the first position of the chain - so is this 
the position where it shoudl be placed? 

The comment for the following CharEncodingFilter in the chain says that "Any 
filters preceding this one MUST not cause request parsing". I am not 100% sure 
if url rewriting means request parsing, although it sounds pretty much like 
that. So in that case it might be a better idea for me to place the 
UrlRewriteFilter between CharEncodingFilter and SchemeEnforcementFilter?

Many thanks
Martin
-- 


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

Reply via email to