wood burning stoves 2.0*
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: 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???
 
Don't get me started about those stupid light bulbs.
 
subject: Struts 1.2 retaininf form fields in jsp in validation error
 
Similar Threads
validation.xml in validator frame work
Solved : Regular Expression for MMYY
Validator Issue with multiply beans
null values diplays in Client Side Validation
Problem in Validating array of form field