i m new struts2. doing client side validation form. error messages validations wrote in properties file repeated each time submit.
e.g.
first submit
username required
second submit
username required username required
please tell me how clear previous error messages?
you should give example code. there document struts2 client side validation , ajax validation there writes:
clearvalidationerrors(formnode) : removes validation errors form
so can try it.
Comments
Post a Comment