form validation
2. Data transmission
Entity Object
- Animal is different from the value of the same class object
3. Verify Data
Verify comment
-
(1) data set annotation rules
-
(2) in the controller is set by the need to verify the annotation @Valid pass over the front end of the parameters in accordance with the above comments, and acquire the authentication information BindingResult result of
the default error message printed result, no error is not suggested zodiac
-
(3) custom error message, no error Zodiac is not prompted
to print the results:
-
(4) Add the passwords do not match low error messages to result in