...
Wiki Markup |
---|
{snippet:id=action-example|lang=xml|javadoc=true|url=org.apache.struts2.dispatcher.mapper.DefaultActionMapper} |
Redirect prefix
Wiki Markup |
---|
{snippet:id=redirect|javadoc=true|url=org.apache.struts2.dispatcher.mapper.DefaultActionMapper} |
Wiki Markup |
---|
{snippet:id=redirect-example|lang=xml|javadoc=true|url=org.apache.struts2.dispatcher.mapper.DefaultActionMapper} |
Redirect-action prefix
Wiki Markup |
---|
{snippet:id=redirect-action|javadoc=true|url=org.apache.struts2.dispatcher.mapper.DefaultActionMapper} |
Wiki Markup |
---|
{snippet:id=redirect-action-example|lang=xml|javadoc=true|url=org.apache.struts2.dispatcher.mapper.DefaultActionMapper} |
Warning |
---|
In Struts 2.1.6 and earlier the Redirect Action prefix is "redirect-action", it was changed to "redirectAction" after the release of Struts 2.1.6 |
Custom ActionMapper
You can define your own ActionMapper by implementing org.apache.struts2.dispatcher.mapper.ActionMapper
then configuring Struts 2 to use the new class in struts.xml
...