Hi there,
take a look into your web.xml, what dispatchers are configured in
filter-mapping:
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
If you have also FORWARD dispatcher configured, remove it. Unless you
really know what you are doing :-). I'm using 3.0.4 because 3.2 is not
in maven repository and this is what caused endless loops and other
strange behaviour in my projects.
Also, I don't know what your RequestToAttributeSetter does, but if it
only sets the request-uri to queryString attribute, you can do it
without a class:
<rule>
<from>.*</from>
<set name="contextPath">%{context-path}</set>
<set name="requestPath">%{request-uri}</set>
</rule>
This works for me.
Regards,
Ondrej