Question: java code for the following: Create a simple servlet application to satisfy the requirements given below: 1. Create a simple form that collects the following
java code for the following:
Create a simple servlet application to satisfy the requirements given below: 1. Create a simple form that collects the following data: a. Name b. Age c. Address d. City e. State Country 2. Collect the entered data from the HTML page to the servlet 3. Validate the age a. If the age is less than 18 then print the details of the person and state that he is not eligible to attain the license as he is underaged b. If the age is more than 60 then print the details of the person and state that he is not eligible to attain the license as he is overaged c. If the age is between 18 and 60 then print the details of the person and state that he is eligible to attain the license 4. Configure the web.xml accordingly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
