Question: -----------------------------------------Login Procedure for Banking System JAVA Webb Application-------------------------------------------- 1. Add a userId field and a password field to the Customer class. 2. Add three customers

-----------------------------------------Login Procedure for Banking System JAVA Webb Application-------------------------------------------- 1. Add a userId field and a password field to the Customer class.

2. Add three customers to the ArrayList in the Customer Data Access class with the following userIDs and passwords.

UserID Password
Cust1 cust1
Cust2 cust2
Cust3 cust3

3. Add a LoginException class to be used when the errors in the login procedure occur. Display the error messages on the login page.

4. The index.html page will display your company name and a login button. Clicking the button will display login JSP.

5. Create a Java Server Page and a servlet to process the login. If the user is not found, or the password is incorrect, display the login server page with the appropriate message.

6. When the login is correct, display a page with the customer name and a message stating that the login was completed. This page will become the main menu later in the application, so you can name it as such.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!