THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
{snippet:id=javadoc|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 |
Method prefix
Wiki Markup |
---|
{snippet:id=method|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
...