diff options
Diffstat (limited to 'spring-boot')
4 files changed, 4 insertions, 4 deletions
diff --git a/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html b/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html index f30a2c0..a28a686 100644 --- a/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html +++ b/spring-boot/05-bank-rest-client/src/main/resources/templates/index.html @@ -8,7 +8,7 @@ <body> -Access <a href="/acc">/acc</a> +Access <a th:href="@{/acc}">/acc</a> </body> diff --git a/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html b/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html index 15393be..c31e420 100644 --- a/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html +++ b/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html @@ -10,6 +10,6 @@ <p th:text="'Account number: ' + ${account.accountNumber}" /> <p th:text="'Balance: ' + ${account.balance}" /> - <a href="/acc">Try again</a> + <a th:href="@{/acc}">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/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> |
