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....
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to highlight error field in struts html form?