Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My homework is due tomorrow and I have no time to spend 2 days on doing this considering my skill set so if someone could

My homework is due tomorrow and I have no time to spend 2 days on doing this considering my skill set so if someone could please write following full project in detail will be forever thankfull : (Thank you in advance)

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Create a Java Web Project called TOBA and in it create the following HTML pages for our application. 10 pts

index.html : This will be the homepage of the application. If youre aesthetically inclined, by all means make it pretty. At the very least, the homepage should have the name of the banking application and a navigation.

Login.html: This page should contain a form with the following input elements and a Login Button. This page should also have a link to a New Customer Sign Up page, see item c.

Username

Password

New_customer.jsp: This page will allow the user to register for online banking services. It should have a form with a submit button that collects the following information.

FirstName

LastName

Phone

Address

City

State

Zipcode

Email

Success.html: This page should just display a message that the account has been successfully created.

Account_activity.html: This page will be used to display the customer account information. Just add a header for now.

Transaction.html: This page will allow a user to post a transaction. Just add a header for now.

Login_failure.html: Displays a message that the login was incorrect.

Error_404.jsp: Displays 404 error code.

Error_java.jsp: Displays a message that java has thrown an exception.

SERVLETS:

Create the following Servlets: 10 pts

LoginServlet Code the servlet to retrieve the username and password from the form we added to login.html. Have the servlet check that the username is equal to HYPERLINK "mailto:jsmith@toba.com" jsmith@toba.com and the password is equal to letmein. Make sure you use these values or I cant test your work. If the username and password match, the servlet to forward the request to the account_activity.html page. If it is incorrect, it should forward the request to the login_failure.html page.

NewCustomerServlet Code the servlet to retrieve the new customer form data and just redirect to the success.html page.

TransactionServlet Just create an empty servlet for now.

Server Side Validation Code the NewCustomerServlet to validate the user has entered in values for all the form fields. If not, assign a message variable such as Please fill out all the form fields and display the message on the new_customer.jsp page. 10 pts

Web XML - Configure the web.xml to map all your servlets. 10 pts

Error Handling Add the following: 10 pts

XML tags that provide error-handling for an HTTP 404 status code

XML tags that provide error-handling for all Java exceptions

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions