http://www.gontu.org in this tutorial, we will learn how to customize form validation constraints error messages using two ways in detail -
1. By providing custom error message as a argument in the Form Validation annotation.
2. With the help of Spring MessageSource concept ( ReloadableResourceBundleMessageSource )
i.e. by keeping custom error messages in a separate properties file and using them with the help of Spring MessageSource
Guys, for complete understanding of the Form Validation concept, watch Form Validation part 01 before watching this.
Watch video Spring MVC Tutorials 18 - Form Validation 02 (customizing error messages using Spring MessageSource) online without registration, duration hours minute second in high quality. This video was added by user gontuseries 16 September 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 102,848 once and liked it 800 people.