• Post Reply Bookmark Topic Watch Topic
  • New Topic

ValidatorMessages.properties

 
John Holme
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In order to customize a validation message I have to create a property in the ValidatorMessages.properties file. For example:

Email=Please provide a correctly formatted email address (for example, joe@javaranch.com)

Now, where do I put ValidatorMessages.properties? thanks!
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It usually goes in ../WEB-INF/classes/resources/

cheers.
 
Why is the word "abbreviation" so long? And this ad is so short?
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!