Authentication with JSP and Java Write a web application to authenticate the use
ID: 3529937 • Letter: A
Question
Authentication with JSP and Java Write a web application to authenticate the user login and password. Create a JSP page to ask for user to create an account and create another JSP page to authenticate user login and password. If the user pass the authentication then redirect the user to welcome page, otherwise redirect the user to fail authentication page. The authentication process will valid if the user has created an account from registration page. Requirements 1. Use JSP to display current date & time on authentication and sign in page. 2. Use Java for authentication logic 3. Run on Tomcat Server 4. Create account page 5. Authentication page 6. Welcome page will greet the user with Hello Username (depending on user account). 7. Fail authentication page will ask user to create the new account if the user does not have an account on the system.Explanation / Answer
Now in the authentication.jsp Check whether the email and password match
now in every other page check the session using
and finally in index.jsp add the following code to redirect to home page if the user is already logged in.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.