Question: Write appropriate JSP code to create a form that accepts the user details to apply for a Driving Licence . It asks for the details
Write appropriate JSP code to create a form that accepts the user details to apply for a Driving Licence . It asks for the details like applicant name ( first name last name), Father name (First name last name), address, adhaar number, DOB, and age.
Write suitable JSP code to perform the following:
Validate the details like the last name of the Applicant name is same as the first name of the father name if not there error message "invalid name"
Applicant age could be greater than or equal to 18 else throw the error message "Licenise Not Applicatie Under age"
if the entered adhaar number already exists in the database, display the error message "License already issued"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
