File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1.2 retaininf form fields in jsp in validation error

 
Lok Manick
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Lok Manick
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys... Any thoughts???
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic