Hi Ben,
Revision 590 (StripesFilter) broke the clean urls stuff for me. Here is the
story:
the url mapping on my action bean looks like this:
/community/user/{id}/index.htm
I try to open the following url /community/user/foo/index.htm
I have the following mappings in the web.xml:
<servlet-mapping>
<servlet-name>StripesDispatcher</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.htm</url-pattern>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
Before revision 590 the url for rewriting looked like this:
url = new StringBuilder(request.getRequestURI());
now it looks like this:
url = new StringBuilder(binding.getPath());
This can't obviously work because afterwards he is trying to do a forward to
/community/user/?id=foo
before it would have been
/community/user/foo/index.htm?id=foo
Any idea how this can be fixed? Maybe by adding the suffix of the original
request to the url that is forwarded?
Many thankx in advance
Regards
Kai
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development