@Valid: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* https://docs.oracle.com/javaee/7/api/javax/validation/Valid.html
=Internal=
=Internal=


* [[Bean_Validation#Annotations|Bean Validation]]
* [[JavaBeans_Validation#Annotations|JavaBeans Validation]]
* [[Spring_Validation_Concepts#Configure_Controller_Methods_for_which_Validation_Should_Be_Performed|Spring Validation Concepts]]
* [[Spring_Validation_Concepts#Configure_Controller_Methods_for_which_Validation_Should_Be_Performed|Spring Validation Concepts]]


=Overview=
=Overview=


When used with Spring MVC
When used with [[Spring_Validation_Concepts#Configure_Controller_Methods_for_which_Validation_Should_Be_Performed|Spring MVC]], @Valid configures Spring MVC to perform the validation of the submitted domain model object instance after it is bound to the submitted form data and before the controller handler method is called.

Latest revision as of 17:34, 16 October 2018

External

Internal

Overview

When used with Spring MVC, @Valid configures Spring MVC to perform the validation of the submitted domain model object instance after it is bound to the submitted form data and before the controller handler method is called.