Spring MVC Form Validation Example with Bean Validation API
Before walking through the detailed steps to build this application, let's understand the Bean Validation API which is used to define validation constraints against properties of JavaBean objects.1. Bean Validation API and Hibernate Validator Implementation
In a nutshell, the Bean Validation API standardizes the way programmers declare validation constraints on object models via annotations. Here's a quick example:Read full article from Spring MVC Form Validation Example with Bean Validation API
No comments:
Post a Comment