Write a Signup servlet that enables the user to register a user from an HTML form, as shown in Figure below. Suppose the user information is stored in a database table named Account with three columns: email, password, and confirm password(a local or cloud database is acceptable). The servlet performs the following tasks:
a. Verify that the password and confirm password are the same. If not, report the error and prompt the user the inconsistency.
b. If the user already exists in the database, report that this user is already in the system.
c. If the user does not exist in the database, save the user’s email, password to the database.
CODE: