addCustomer.jsp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add Customer</title>
</head>
<body>
<h2>Add Customer</h2>
<form action="CustomerCRUDServlet" method="post">
<input type="hidden" name="action" value="add">
<label for="ssn">SSN:</label>
<input type="text" id="ssn" name="ssn" required><br>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required><br>
<label for="address">Address:</label>
<input type="text" id="address" name="address" required><br>
<label for="contact">Contact:</label>
<input type="text" id="contact" name="contact" required><br>
<button type="submit">Save</button>
</form>
</body>
</html>