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
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
Get step-by-step solutions from verified subject matter experts
