summaryrefslogtreecommitdiff
path: root/spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-06 21:29:42 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-06 21:29:42 +0530
commit9c9d4a713c0f48a9f99e5c3ee9c03d245de4b931 (patch)
treedeeca88f878f717ab6ca7ade269c596ae9120d88 /spring-boot/05-bank-rest-client/src/main/resources/templates/result.html
parent8fc60b3ccd9fd076004d61c2bc190aaedd073c46 (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/templates/result.html')
-rw-r--r--spring-boot/05-bank-rest-client/src/main/resources/templates/result.html2
1 files changed, 1 insertions, 1 deletions
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