diff --git a/spring-framework-reference/src/mvc.xml b/spring-framework-reference/src/mvc.xml index b2d4b77c9d..588b92cb27 100644 --- a/spring-framework-reference/src/mvc.xml +++ b/spring-framework-reference/src/mvc.xml @@ -2523,9 +2523,9 @@ background=/themes/cool/img/coolBg.jpg <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <html> <head> - <link rel="stylesheet" href="<spring:theme code="styleSheet"/>" type="text/css"/> + <link rel="stylesheet" href="<spring:theme code='styleSheet'/>" type="text/css"/> </head> - <body style="background=<spring:theme code="background"/>"> + <body style="background=<spring:theme code='background'/>"> ... </body> </html> @@ -2685,7 +2685,7 @@ background=/themes/cool/img/coolBg.jpg The next step is to create a controller that handles the file upload.This controller is very similar to a normal annotated - @Controllers, except that we use + @Controller, except that we use MultipartHttpServletRequest or MultipartFile in the method parameters: @Controller diff --git a/spring-framework-reference/src/validation.xml b/spring-framework-reference/src/validation.xml index 7f58882cbd..da9082b0fb 100644 --- a/spring-framework-reference/src/validation.xml +++ b/spring-framework-reference/src/validation.xml @@ -40,7 +40,7 @@
Validation using Spring's <interfacename>Validator</interfacename> interface - Spring's features a Validator interface that you can + Spring features a Validator interface that you can use to validate objects. The Validator interface works using an Errors object so that while validating, validators can report validation failures to the Errors object. @@ -1258,7 +1258,7 @@ public interface FormatterRegistry { JSR-303 standardizes validation constraint declaration and metadata for the Java platform. Using this API, you annotate domain model properties with declarative validation constraints and the runtime enforces them. - There are a number of built-in constraints you can can take advantage of. + There are a number of built-in constraints you can take advantage of. You may also define your own custom constraints. @@ -1384,7 +1384,7 @@ public class MyConstraintValidator implements ConstraintValidator { The default LocalValidatorFactoryBean configuration should prove sufficient for most cases. There are a number of other configuration options for various JSR-303 constructs, from message interpolation to traversal resolution. - See the JavaDocs of LocalValidatorFactoryBean more information on these options. + See the JavaDocs of LocalValidatorFactoryBean for more information on these options.
@@ -1510,7 +1510,7 @@ public class MyController { With this minimal configuration, anytime a @Valid @Controller input is encountered, it will be validated by the JSR-303 provider. JSR-303, in turn, will enforce any constraints declared against the input. - Any ConstaintViolations will automatically be exposed as errors in the BindingResult renderable by standard Spring MVC form tags. + Any ConstraintViolations will automatically be exposed as errors in the BindingResult renderable by standard Spring MVC form tags.