aspose 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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
null values diplays in Client Side Validation
validation.xml in validator frame work
Validator Issue with multiply beans
Problem in Validating array of form field
Solved : Regular Expression for MMYY