diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-03-28 21:35:10 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-03-28 21:35:10 +0530 |
| commit | 5b6b5b62a0dfd4525db9a97a52634d1f8bb8e19c (patch) | |
| tree | 3017b927bd13690c3316ed5b6a0032eb3391f1a4 /maven/03-hello2-form-submission-webapp/src/main/webapp/index.jsp | |
| parent | dfc57517c8fd60f862029d95c25aa01410578c69 (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.jsp | 14 |
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 |
