I\'m trying to have my Struts2 app redirect to a generated URL. In this case, I want the URL to use the current date, or a date I looked up in a database. So /section/
/section/
One can also use annotations and the Convention plug-in to avoid repetitive configuration in struts.xml:
annotations
@Result(location="${url}", type="redirect")
The ${url} means "use the value of the getUrl method"