File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2195,19 +2195,19 @@ The following example shows how to get the cookie value:
2195
2195
<1> Get the value of the `JSESSIONID` cookie.
2196
2196
====
2197
2197
2198
- if the target method parameter type is not
2199
- `String`, type conversion is applied automatically. See <<mvc-ann-typeconversion>>.
2198
+ If the target method parameter type is not `String`, type conversion is applied automatically.
2199
+ See <<mvc-ann-typeconversion>>.
2200
2200
2201
2201
2202
2202
[[mvc-ann-modelattrib-method-args]]
2203
2203
==== `@ModelAttribute`
2204
2204
[.small]#<<web-reactive.adoc#webflux-ann-modelattrib-method-args, Same as in Spring WebFlux>>#
2205
2205
2206
- You can use the `@ModelAttribute` annotation on a method argument to access an attribute from the
2207
- model or have it be instantiated if not present. The model attribute is also overlain with
2208
- values from HTTP Servlet request parameters whose names match to field names. This is
2209
- referred to as data binding, and it saves you from having to deal with parsing and
2210
- converting individual query parameters and form fields. The following example shows how to do so:
2206
+ You can use the `@ModelAttribute` annotation on a method argument to access an attribute from
2207
+ the model or have it be instantiated if not present. The model attribute is also overlain with
2208
+ values from HTTP Servlet request parameters whose names match to field names. This is referred
2209
+ to as data binding, and it saves you from having to deal with parsing and converting individual
2210
+ query parameters and form fields. The following example shows how to do so:
2211
2211
2212
2212
====
2213
2213
[source,java,indent=0]
You can’t perform that action at this time.
0 commit comments