diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index be2732f3a97..0e7c5266583 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -1152,9 +1152,10 @@ default `HttpMessageConverters`: * `FormHttpMessageConverter` converts form data to/from a MultiValueMap. * `SourceHttpMessageConverter` converts to/from a javax.xml.transform.Source. -For more information on these converters, see <>. Also note that if using the MVC namespace or the MVC Java config, a wider -range of message converters are registered by default. See <> for more information. +For more information on these converters, see <>. Also note that if using the MVC namespace or the MVC Java config, a +wider range of message converters are registered by default. See <> for +more information. If you intend to read and write XML, you will need to configure the `MarshallingHttpMessageConverter` with a specific `Marshaller` and an `Unmarshaller` @@ -1226,7 +1227,7 @@ response stream. As with `@RequestBody`, Spring converts the returned object to a response body by using an `HttpMessageConverter`. For more information on these converters, see the previous -section and <>. +section and <>. [[mvc-ann-restcontroller]] ==== Creating REST Controllers with the @RestController annotation @@ -1275,7 +1276,8 @@ World` to the response stream, and sets the response status code to 201 (Created As with `@RequestBody` and `@ResponseBody`, Spring uses `HttpMessageConverter` to convert from and to the request and response streams. For more information on these -converters, see the previous section and <>. +converters, see the previous section and <>. [[mvc-ann-modelattrib-methods]]