posted 21 years ago
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!
Consider...
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.