Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using java Part A: 1. Create a User JavaBean. The User bean should have all the attributes collected from the new customer form. Also give

using java

Part A:

1. 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.

2. In the NewCustomerServlet, create an instance of the User bean from the new customer form data. The username should consist of their last name combined with their zipcode. Give them a temporary password of welcome1.

3. Add the new create user object to the session scope.

4. Using EL, bind the customer object to the success page and display all the attributes along with the new username and password.

Part B:

1. Add a Reset Password link to the Login Page.

Create a password_reset.jsp

2. Using EL, bind the User object password to a form field in a page.

Allow the user to change their password.

3. On the servlet side, 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.

Part C:

1. On the account_activity page use a JSTL if statement. If the User object is in the session and not null, display a welcome message containing their firstname and lastname in the page. If it does not exist, display a Not Logged In message on the page.

part D:

1. Implement a header.html and footer.jsp file for the header and footer of your TOBA application. Using a JSP tag, the footer should dynamically display the current date in the copyright information. Include the header and footer in all pages of your application.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions