File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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: 71
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)
Lok Manick
Ranch Hand

Joined: Jan 24, 2005
Posts: 71
Guys... Any thoughts???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.2 retaininf form fields in jsp in validation error