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")
%>">nyc</a>

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

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

Thanks,

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to