struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Ruan <>
Subject S2: Using Outbound Rules with UrlRewriter
Date Fri, 13 Mar 2009 03:34:22 GMT
Has anyone used the UrlRewriter outbound rules with Struts 2?
UrlRewriter requires that the urls go through response.encodeURL().
In JSP and JSTL examples:

<a href="<%= response.encodeURL("/world.jsp?country=usa&amp;city=nyc")

<a href="<c:url value="/world.jsp?country=${country}&amp;city=${city}"

What is the Struts2 equivalent way?  (s:url encode="true" does not work).



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message