diff --git a/spring-framework-reference/src/new-in-3.1.xml b/spring-framework-reference/src/new-in-3.1.xml index 8c844fe78a..0b65527978 100644 --- a/spring-framework-reference/src/new-in-3.1.xml +++ b/spring-framework-reference/src/new-in-3.1.xml @@ -269,17 +269,19 @@ URI template variables from the current request are used in more places: URI template variables are used in addition to request parameters - when binding a request to @ModelAttribute method arguments. + when binding a request to @ModelAttribute + method arguments. @PathVariable method argument values are merged into the model - before rendering except in views that generate content in an automated - fashion such as JSON serialization an XML marshalling. + before rendering, except in views that generate content in an automated + fashion such as JSON serialization or XML marshalling. A redirect string can contain placeholders for URI variables (e.g. "redirect:/blog/{year}/{month}"). When expanding the placeholders, URI template variables from the current request are automatically considered. - An @ModelAttribute method argument can be instantiated from - a URI template variable provided there is a registered Converter or - PropertyEditor to convert from a String to the target object type. + An @ModelAttribute method argument + can be instantiated from a URI template variable provided there is a + registered Converter or PropertyEditor to convert from a String to the + target object type. @@ -290,15 +292,16 @@ can be annotated with @Valid to invoke automatic validation similar to the support for @ModelAttribute method arguments. - The resulting MethodArgumentNotValidException is handled in the - DefaultHandlerExceptionResolver and results in 400 response code. + A resulting MethodArgumentNotValidException is + handled in the DefaultHandlerExceptionResolver + and results in a 400 response code.
<interfacename>@RequestPart</interfacename> Annotation On Controller Method Arguments This new annotation provides access to the content of a "multipart/form-data" request part. See and - + .