diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index a4c2e81778059281ad6c1260b48657951ac28b85..16761003ed867a3e3bc98cdb30aff9f4bb279ab8 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -2195,19 +2195,19 @@ The following example shows how to get the cookie value: <1> Get the value of the `JSESSIONID` cookie. ==== -if the target method parameter type is not -`String`, type conversion is applied automatically. See <>. +If the target method parameter type is not `String`, type conversion is applied automatically. +See <>. [[mvc-ann-modelattrib-method-args]] ==== `@ModelAttribute` [.small]#<># -You can use the `@ModelAttribute` annotation on a method argument to access an attribute from the -model or have it be instantiated if not present. The model attribute is also overlain with -values from HTTP Servlet request parameters whose names match to field names. This is -referred to as data binding, and it saves you from having to deal with parsing and -converting individual query parameters and form fields. The following example shows how to do so: +You can use the `@ModelAttribute` annotation on a method argument to access an attribute from +the model or have it be instantiated if not present. The model attribute is also overlain with +values from HTTP Servlet request parameters whose names match to field names. This is referred +to as data binding, and it saves you from having to deal with parsing and converting individual +query parameters and form fields. The following example shows how to do so: ==== [source,java,indent=0]