Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys... Any thoughts???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic