1 2 3 4 5 6 7 8 9 10 11 12 13 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>