THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=org.apache.struts2. |
...
result.ServletActionRedirectResult} |
Note |
---|
See ActionMapper for more details |
Parameters
Wiki Markup |
---|
{snippet:id=params|javadoc=true|url=org.apache.struts2. |
...
result.ServletActionRedirectResult} |
Examples
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=org.apache.struts2. |
...
result.ServletActionRedirectResult} |
Code Block | ||||
---|---|---|---|---|
| ||||
<!--
Example of "anchor" param usage in conjunction with "redirectAction" result-type.
Generated URL: /displayReport.action#SUMMARY
-->
<action name="displayReport">
<result>/jsp/displayReport.jsp</result>
</action>
<action name="financeReport" class="com.mycompany.reports.FinanceReportAction">
<result name="input">/jsp/index.jsp</result>
<result name="success" type="redirectAction">
<param name="actionName">displayReport</param>
<param name="parse">false</param>
<param name="anchor">SUMMARY</param>
</result>
</action>
|