This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am using validator framework in my application. For client side validations I am writing the code validation-rules.xml. I would like to display the error messages which are defined in the application resources. please let me know whether it is possible or not?
There should be a basic implementation of the rules file that came with your struts or validator distribution. If you notice, it indeed uses properties specified in the ApplicationResources.properties -- so long as you specified it in your struts-config.xml file, anyway!
Note the msg="errors.required" attribute.
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
Joined: Jun 12, 2004
Thanks for the reply.