Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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
xml
xml
<!--
	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>