Skip to content

Commit

Permalink
I handled the escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Aysha-py authored and Buzzardo committed Jul 8, 2024
1 parent a0602c8 commit aa8b726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ include::complete/src/main/resources/templates/greeting.html[]

The `th:action="@{/greeting}"` expression directs the form to POST to the `/greeting`
endpoint, while the `th:object="${greeting}"` expression declares the model object to use
for collecting the form data. The two form fields, expressed with `th:field="*{id}"` and
`th:field="*{content}"`, correspond to the fields in the `Greeting` object.
for collecting the form data. The two form fields, expressed with `th:field="+*+{id}"` and
`th:field="+*+{content}"`, correspond to the fields in the `Greeting` object.

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

0 comments on commit aa8b726

Please sign in to comment.