From aa8b726879db25d172adf188bda23dfbf8a870b2 Mon Sep 17 00:00:00 2001 From: Aysha Muhammed Date: Fri, 5 Jul 2024 02:05:42 +0100 Subject: [PATCH] I handled the escape --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index e60a758..a6a59a8 100644 --- a/README.adoc +++ b/README.adoc @@ -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`