File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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[]
100100
101101The `th:action="@{/greeting}"` expression directs the form to POST to the `/greeting`
102102endpoint, 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.
105105
106106That covers the controller, model, and view for presenting the form. Now we can review the
107107process 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