File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ include::complete/src/main/resources/templates/greeting.html[]
100
100
101
101
The `th:action="@{/greeting}"` expression directs the form to POST to the `/greeting`
102
102
endpoint, while the `th:object="${greeting}"` expression declares the model object to use
103
- for collecting the form data. The two form fields, expressed with `th:field="* {id}"` and
104
- `th:field="* {content}"`, correspond to the fields in the `Greeting` object.
103
+ for collecting the form data. The two form fields, expressed with `th:field="+*+ {id}"` and
104
+ `th:field="+*+ {content}"`, correspond to the fields in the `Greeting` object.
105
105
106
106
That covers the controller, model, and view for presenting the form. Now we can review the
107
107
process of submitting the form. As noted earlier, the form submits to the `/greeting`
You can’t perform that action at this time.
0 commit comments