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&city=nyc")
%>">nyc</a>
<a href="<c:url value="/world.jsp?country=${country}&city=${city}"
/>">nyc</a>
What is the Struts2 equivalent way? (s:url encode="true" does not work).
Thanks,
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]