diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-06 21:29:42 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-06 21:29:42 +0530 |
| commit | 9c9d4a713c0f48a9f99e5c3ee9c03d245de4b931 (patch) | |
| tree | deeca88f878f717ab6ca7ade269c596ae9120d88 /spring-boot/05-bank-rest-client/src/main/resources | |
| parent | 8fc60b3ccd9fd076004d61c2bc190aaedd073c46 (diff) | |
Added th:href to web pages in Spring Boot sample web apps with Thymeleaf
Diffstat (limited to 'spring-boot/05-bank-rest-client/src/main/resources')
| -rw-r--r-- | spring-boot/05-bank-rest-client/src/main/resources/templates/index.html | 2 | ||||
| -rw-r--r-- | spring-boot/05-bank-rest-client/src/main/resources/templates/result.html | 2 |
2 files changed, 2 insertions, 2 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 |
