Question: Using JAVA Create an Update method in the UserDB class that updates a User object. In the servlet code we created last week that allows

Using JAVA

Create an Update method in the UserDB class that updates a User object.

In the servlet code we created last week that allows the user to reset their password, utilize the UserDb update method to save the changes to the db.

last week assignment was to:

Create a User JavaBean. The User bean should have all the attributes collected from the new customer form. Also give it a username and password property.

retrieve the user from the session and change the password to the password entered on the reset form.

Save the User object in session scope.

Redirect the user to the account_activity page.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question is complete Lets walk through the steps to create the required functionality Step 1 Create the Update Method in UserDB Class The UserDB c... View full answer

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!