summaryrefslogtreecommitdiff
path: root/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-06 20:02:35 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-06 20:02:35 +0530
commit9b3396e2b5cb3660a94fb4a4c0dfb873b46ce224 (patch)
treeff25c9c4583cd52cd30257be092f99892829b46e /spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
parent6657eb579ce0413689f2bfb0c2f912a930b3f179 (diff)
Added a Spring Boot + Thymeleaf based form validation sample application code
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html')
-rw-r--r--spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html18
1 files changed, 18 insertions, 0 deletions
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
new file mode 100644
index 0000000..48e251d
--- /dev/null
+++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html xmlns:th="http://www.thymeleaf.org">
+
+<head>
+ <title>Form handling example with Thymeleaf</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+
+<body>
+
+<h1>Form handling example with Thymeleaf</h1>
+
+<a href="/contact">Contact Us</a>
+
+</body>
+
+</html>
+