How to do dynamic URL redirects in Struts 2?
Here’s how we do it: In Struts.xml, have a dynamic result such as: <result name=”redirect” type=”redirect”>${url}</result> In the action: private String url; public String getUrl() { return url; } public String execute() { [other stuff to setup your date] url = “/section/document” + date; return “redirect”; } You can actually use this same technology to … Read more