From 5fa7347641f7ef9819155845baaae34459165fb3 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Mon, 14 Sep 2009 23:18:31 +0000 Subject: [PATCH] polish --- spring-framework-reference/src/validation.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-framework-reference/src/validation.xml b/spring-framework-reference/src/validation.xml index cfd1dad51ef..c6bcf40fabb 100644 --- a/spring-framework-reference/src/validation.xml +++ b/spring-framework-reference/src/validation.xml @@ -1453,7 +1453,6 @@ public class MyController { With JSR-303, the default javax.validation.Validator implementation is generic. A single instance typically coordinates the validation of all application objects that declare validation constraints. To configure such a general purpose Validator for use by Spring MVC, simply inject a LocalValidatorFactoryBean reference into the WebBindingInitializer. - LocalValidatorFactoryBean already implements org.springframework.validation.Validator, delegating to the JSR-303 provider underneath. A full configuration example showing injection of a JSR-303 backed Validator into Spring MVC is shown below: