I have problem with validations using struts. My application contains two text boxes of years and months and i require to validate them using validator.xml. The problem is , whenever i am validating the two text boxes, two error messages are displaying but i require to display only one error message for both the fields. Can anyone help me regarding this issue.
if possible post the required code.