I could be wrong, but I thought you could only pass the FieldErrors
back to a JSP using a dispatcher result, not a redirect-action.
Andy.
On 12 Dec 2008, at 12:34, Seshagiri V wrote:
Hi All,
Mapping with redirection type and name is "input" and value is null
but I am
not able to validations errors in jsp.
Please follow code.
<action name="addEditWaterhole"
class
=
"org.paradigmpop.mypopproject.waterhole.actions.AddEditWaterholeAction
">
<result name="error" type="redirect-action">
<param name="actionName">viewPoPIndex.action</
param>
<param name="namespace">/p</param>
</result>
<result name="input" type="redirect-action">
<param
name="actionName">viewAddEditWaterhole.action</param>
<param name="namespace">/p</param>
<param
name="popDTO.popid">${waterholeDTO.teamPoP.popid}</param>
</result>
</action>
<action name="viewAddEditWaterhole"
class
=
"org.paradigmpop.mypopproject.waterhole.actions.ViewAddEditWaterholeAc
tion">
<result name="input" type="redirect-action">
<param
name="actionName">viewPoPWaterhole.action</param>
<param name="namespace">/p/wa</param>
</result>
Thank you,
Seshagiri V
seshagi...@kensium.com.
US Main: 877 KENSIUM (536.7486)
US Fax: 312.242.3029
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
Confidentiality Note:
-----------------------------
The information contained in this e-mail is strictly confidential
and for
the intended use of the addressee only. Any disclosure, use or
copying of
the information by anyone other than the intended recipient is
prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org