Question
Description: In Java present a login page, a registration page, a page where a logged-in user can see/edit their schedule. THIS SHOULD BE DONE IN
Description: In Java present a login page, a registration page, a page where a logged-in user can see/edit their schedule.
THIS SHOULD BE DONE IN Java and Java database
Do steps 1-4
1. Login page
a. Must have a form where the user can enter login-id and password and click a submit button to log in.
b. Also, the form must present a registration button, which redirects the user to a registration page as described in Part 2 below.
c. User login and password are going to be maintained in a database. If the user provides invalid information, they should be notified their login failed.
d. In the case that a user provides valid data, they should be redirected to a main page with a confirmation message.
2. Registration page
a. Must have a form where user can enter their profile information, such as first name, last name, login-id and password (feel free to add more).
b. Form must have a register button, which registers the user with our site as described in the next section dealing with a database.
c. Form must have simple validation.
3. Main page
a. After the user is logged in, this page gives a confirmation message.
b. If not logged in, this page should instruct them to log in.
c. Hints: While learning validation, we used Session to maintain state and display information entered on one page in another. Using Session to keep track of user login status would be helpful for displaying the proper message on a secure page such as this.
4. Database
a. The database must have a table containing registered users. These users will be inserted from the registration page and the login page will use this table to confirm user credentials.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started