Skip to content

Commit aa8b726

Browse files
Aysha-pyBuzzardo
authored andcommitted
I handled the escape
1 parent a0602c8 commit aa8b726

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ include::complete/src/main/resources/templates/greeting.html[]
100100

101101
The `th:action="@{/greeting}"` expression directs the form to POST to the `/greeting`
102102
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.
105105

106106
That covers the controller, model, and view for presenting the form. Now we can review the
107107
process of submitting the form. As noted earlier, the form submits to the `/greeting`

0 commit comments

Comments
 (0)