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.
Смотрите видео Spring MVC Tutorials 18 - Form Validation 02 (customizing error messages using Spring MessageSource) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь gontuseries 16 Сентябрь 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 102,848 раз и оно понравилось 800 людям.