On Wed, Feb 18, 2009 at 1:22 AM, Wim De Smet <krom...@gmail.com> wrote: > This only seems to happen when setting use-query-string=true in the > filter. Since our filters rely on being able to access the query > string it doesn't really work well when we don't include it, but at > least the parameters get set properly. (no commas and double > parameters) > > After an internal forward though, struts seems to be unable to find > converters for Integer parameters on objects. I've sort of temporarily > fixed it by adding a couple of fake setters that accept String values > and do the work manually, but of course this isn't ideal. > > None of this makes much sense to me, is struts even supposed to be > able to handle an internal forward? Anyone have any experience with > combining these two pieces of software?
I'm using urlrewritefilter + struts 2.1.6 and it's working fine. I'm rewriting URLs like: http://example.com/us/news to http://example.com/news?region=us It took me a while to get the rewrite rule working. I can't remember if the problems were the same as yours, but the solution was to not put the query parameters in the <to> but rather use <set type="parameter">. Hope this helps, Bill -- Bill Stilwell - http://www.marginalia.org/ bill.stilw...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org