This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1.2 retaininf form fields in jsp in validation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 retaininf form fields in jsp in validation error" Watch "Struts 1.2 retaininf form fields in jsp in validation error" New topic
Author

Struts 1.2 retaininf form fields in jsp in validation error

Lok Manick
Ranch Hand

Joined: Jan 24, 2005
Posts: 73
Hi Guys,

I use validator frame work of struts to validate the forms(fields in jsp page) and on validation error (like: Email required) the other fields gets reset to null(Empty str).. I am not sure what i miss out...


<form name="ChangeEmailForm">
<field property="emailId" depends="required,maxlength,email">
<arg0 key="label.email" />
</field>
</form>

any suggestions??


with regards,
Loks (SCJP, SCWCD, OCEJWSD, OCA SQL, OCA PL/SQL)
Lok Manick
Ranch Hand

Joined: Jan 24, 2005
Posts: 73
Guys... Any thoughts???
 
 
subject: Struts 1.2 retaininf form fields in jsp in validation error
 
It's not a secret anymore!