Hi all, I hope this is the right venue for asking questions like this. If I'm mistaken, feel free to redirect me. :-)
I'm currently working on a project where we are trying to use tuckey's urlrewritefilter[1] v3.2.0 to rewrite urls like: http://oursite.com/search?param1=¶m2=something to http://oursite.com/mySearch.action?param1=¶m2=something AIUI urlrewritefilter rewrites the url, then does an internal forward. Other filters can pick up on this if they're listening on FORWARD, so all filters (including the struts ones) do just that. However, something really strange is happening with the parameters when the urlrewritefilter has been triggered, all parameters are duplicated and separated by a comma. So for the above URL, what the application would get is param1="," and param2="something, something". I've already done quite a lot of work just trying to debug this, but I have no idea where these values are being set. I suspect the action2-filters are actually setting them as the ParametersInterceptor just gets these out of the context and pushes them on the stack. Any pointers on how to proceed to debug (or if you know what I'm doing wrong, that would help too) are welcome. All of this is with struts 2.0.14 and the spring integration plugin of the same version. I've included the relevant web.xml section below. regards, Wim <filter-mapping> <filter-name>UrlRewriteFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> <filter-mapping> <filter-name>SpringOpenEntityManagerInViewFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> </filter-mapping> <filter-mapping> <filter-name>Spring Security Filter Chain Proxy</filter-name> <url-pattern>/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> </filter-mapping> <filter-mapping> <filter-name>action2-cleanup</filter-name> <url-pattern>/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> </filter-mapping> <filter-mapping> <filter-name>sitemesh</filter-name> <url-pattern>/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> </filter-mapping> <filter-mapping> <filter-name>action2</filter-name> <url-pattern>/*</url-pattern> <dispatcher>FORWARD</dispatcher> <dispatcher>REQUEST</dispatcher> </filter-mapping> [1]: http://code.google.com/p/urlrewritefilter/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org