Quantcast
Channel: Java Code Geeks » Jerome Versrynge
Viewing all articles
Browse latest Browse all 11

Spring MVC Form Validation (With Annotations)

$
0
0
This post provides a simple example of a HTML form validation. It is based on the Spring MVC With Annotations example. The code is available on GitHub in the Spring-MVC-Form-Validation directory.                 Data For this example we will use a bean and JSR303 validation annotations: public class MyUser { @NotNull @Size(min=1,max=20) private [...]

Viewing all articles
Browse latest Browse all 11

Trending Articles