what I did is use resources.properties file there you have to give key ,value error details
in struts-config.xml use <message-resource> to include property file
give corresponding error property in validation xml file
it definetley works
Joined: Mar 28, 2006
sorry guys.........i want my cursor focus on the error field when validation fails.
Please let me know, is it possible to retrieve the error field name on the client side when validation fails....