diff --git a/spring-framework-reference/src/mvc.xml b/spring-framework-reference/src/mvc.xml index 5829584dc00..54b094b9aa6 100644 --- a/spring-framework-reference/src/mvc.xml +++ b/spring-framework-reference/src/mvc.xml @@ -272,7 +272,7 @@ setting up Spring Web MVC. You now need to configure the various beans used by the Spring Web MVC framework (over and above the DispatcherServlet - itself). + itself). As detailed in , ApplicationContext instances in Spring can @@ -451,7 +451,7 @@ in the process to resolve the locale to use when processing the request (rendering the view, preparing data, and so on). If you do not need locale resolving, you do not need it. - + @@ -459,7 +459,7 @@ as views determine which theme to use. If you do not use themes, you can ignore it. - + @@ -1200,7 +1200,7 @@ public String processSubmit(@ModelAttribute("pet") Pet pet A HttpEntity<?> or ResponseEntity<?> object - to provide access to the Servlet reponse HTTP headers and + to provide access to the Servlet response HTTP headers and contents. The entity body will be converted to the response stream using HttpMessageConverters. See @RequestHeader("Accept-Encod is not String. See . - Built-in support is available for converting a coma-separated + Built-in support is available for converting a comma-separated string into an array/collection of strings or other types known to the type conversion system. For example a method parameter annotated with @RequestHeader("Accept") may be of type @@ -3125,10 +3125,10 @@ public class SimpleController { - What, no automatic pluralisation? + What, no automatic pluralization? Spring Web MVC's convention-over-configuration support does not - support automatic pluralisation. That is, you cannot add a + support automatic pluralization. That is, you cannot add a List of Person objects to a ModelAndView and have the generated name be people. @@ -3325,7 +3325,7 @@ public class SimpleController { Support for Spring 3's Type ConversionService in addition to JavaBeans PropertyEditors during Data Binding. A ConversionService instance produced by the org.springframework.format.support.FormattingConversionServiceFactoryBean is used by default. - This can be overriden by setting the conversion-service attribute. + This can be overridden by setting the conversion-service attribute. @@ -3436,7 +3436,7 @@ public class SimpleController { mvc:interceptors This tag allows you to register custom HandlerInterceptors or WebRequestInterceptors that should be applied to all HandlerMapping beans. - You can also restrict the URL paths specifc interceptors apply to. + You can also restrict the URL paths that specific interceptors apply to. An example of registering an interceptor applied to all URL paths: @@ -3461,7 +3461,7 @@ public class SimpleController {
mvc:view-controller - This tag is a shorcut for defining a ParameterizableViewController that immediately forwards to a view when invoked. + This tag is a shortcut for defining a ParameterizableViewController that immediately forwards to a view when invoked. Use it in static cases when there is no Java Controller logic to execute before the view generates the response. @@ -3493,7 +3493,7 @@ public class SimpleController { The mapping attribute must be an Ant pattern that can be used by SimpleUrlHandlerMapping, and the location - attribute must specify one or more valid resource directory locations. Multiple resource locations may be specified using a comma-seperated list of values. + attribute must specify one or more valid resource directory locations. Multiple resource locations may be specified using a comma-separated list of values. The locations specified will be checked in the specified order for the presence of the resource for any given request. For example, to enable the serving of resources from both the web application root and from a known path of /META-INF/public-web-resources/ in any jar on the classpath, the tag would be specified as: