For my form validation failure, I have specified another action as Input.
When I submit to /result/view, the validation fails, I change one of my form-bean
attribute in validate method itself.
It then goes to /login
and the validate method is again called. I find that the form-bean attribue has not
changed.
Why is this happening?
<form-beans>
<form-bean name="vForm" type="strut.TerrZipAlgnForm"/>
</form-beans>
<action
path="/result/view"
type="strut.Search"
name="vForm"
scope="request"
parameter="view"
input="/login.do"
>
<forward name="search_result" path="/searchresult.jsp"/>
</action>
<action
path="/login"
type="strut.LoginAction"
name="vForm"
scope="request"
input="/error.jsp"
>
<forward name="firstpage" path="/searchform.jsp"/>
</action>
****** Message from InterScan E-Mail VirusWall NT ******
** No virus found in attached file noname.htm
No Virus detected in the attached file(s).
***************** End of message ***************
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information. If you are not
the
intended recipient, please contact the sender by reply e-mail and destroy all copies
of
the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying
of this email or any action taken in reliance on this e-mail is strictly prohibited
and
may be unlawful.
Visit us at http://www.cognizant.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]