summaryrefslogtreecommitdiff
path: root/maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-03-28 21:35:10 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-03-28 21:35:10 +0530
commit5b6b5b62a0dfd4525db9a97a52634d1f8bb8e19c (patch)
tree3017b927bd13690c3316ed5b6a0032eb3391f1a4 /maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp
parentdfc57517c8fd60f862029d95c25aa01410578c69 (diff)
Added a simple application showing form submission
Diffstat (limited to 'maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp')
-rw-r--r--maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp14
1 files changed, 14 insertions, 0 deletions
diff --git a/maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp b/maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp
new file mode 100644
index 0000000..77dd3d6
--- /dev/null
+++ b/maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Jakarta EE 11 Servlet Post Example</title>
+</head>
+<body>
+ <h1>Enter your name</h1>
+ <form action="submitForm" method="POST">
+ <label for="name">Name:</label>
+ <input type="text" id="name" name="name">
+ <input type="submit" value="Submit">
+ </form>
+</body>
+</html> \ No newline at end of file