Re: S2: Using Outbound Rules with UrlRewriter

2009-03-13 Thread Daniel Ruan
Hi Wes, Thanks for taking time to answer my question. Guess I was not clear with the the examples I gave. Yes, I am using all Struts actions, s:url, s:a tags, and everything. The thing is the Struts tags: nyc don't seem to implicitly call "response.encodeURL" as the c:url tag would

Re: S2: Using Outbound Rules with UrlRewriter

2009-03-12 Thread Wes Wannemacher
On Thursday 12 March 2009 23:34:22 Daniel Ruan wrote: > Has anyone used the UrlRewriter outbound rules with Struts 2? > UrlRewriter requires that the urls go through response.encodeURL(). > In JSP and JSTL examples: > > %>">nyc > > />">nyc > > What is the Struts2 equivalent way? (s:url encode="t

S2: Using Outbound Rules with UrlRewriter

2009-03-12 Thread Daniel Ruan
Has anyone used the UrlRewriter outbound rules with Struts 2? UrlRewriter requires that the urls go through response.encodeURL(). In JSP and JSTL examples: ">nyc ">nyc What is the Struts2 equivalent way? (s:url encode="true" does not work). Thanks, Daniel