diff options
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src/main/resources')
| -rw-r--r-- | spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html | 2 | ||||
| -rw-r--r-- | spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html index 607a9eb..354c8b3 100644 --- a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html +++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html @@ -12,6 +12,6 @@ <p th:text="'Thank you ' + ${contactForm.name} + '.'" /> - <a href="/contact">Try again</a> + <a th:href="@{/contact}">Try again</a> </body> </html>
\ No newline at end of file diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html index 9259f47..1f4b54c 100644 --- a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html +++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html @@ -11,7 +11,7 @@ <h1>Form handling example with Thymeleaf</h1> -<a href="/contact">Contact Us</a> +<a th:href="@{/contact}">Contact Us</a> </body> |
