WW-2491 updated javadoc snippet to reference redirectAction instead of redirect-action

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@629322 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeromy Evans
2008-02-20 02:30:03 +00:00
parent 305f56cba8
commit a0c5ea1944
@@ -1,5 +1,5 @@
/*
* $Id: $
* $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -83,7 +83,7 @@ import com.opensymphony.xwork2.inject.Inject;
* <package name="public" extends="struts-default">
* <action name="login" class="...">
* <!-- Redirect to another namespace -->
* <result type="redirect-action">
* <result type="redirectAction">
* <param name="actionName">dashboard</param>
* <param name="namespace">/secure</param>
* </result>
@@ -94,7 +94,7 @@ import com.opensymphony.xwork2.inject.Inject;
* <-- Redirect to an action in the same namespace -->
* <action name="dashboard" class="...">
* <result>dashboard.jsp</result>
* <result name="error" type="redirect-action">error</result>
* <result name="error" type="redirectAction">error</result>
* </action>
*
* <action name="error" class="...">
@@ -105,11 +105,11 @@ import com.opensymphony.xwork2.inject.Inject;
* <package name="passingRequestParameters" extends="struts-default" namespace="/passingRequestParameters">
* <-- Pass parameters (reportType, width and height) -->
* <!--
* The redirect-action url generated will be :
* The redirectAction url generated will be :
* /genReport/generateReport.action?reportType=pie&width=100&height=100
* -->
* <action name="gatherReportInfo" class="...">
* <result name="showReportResult" type="redirect-action">
* <result name="showReportResult" type="redirectAction">
* <param name="actionName">generateReport</param>
* <param name="namespace">/genReport</param>
* <param name="reportType">pie</param>