Hi, Here is the challenge for first jsp based project.

Originally, i have an authentication.jsp that passes form to authentication java class for username and password matching. Then the java class will redirect to other jsp if it matches.

After that, i wanted to solve the logout problem related to the BACK button. I came to this solution where authentication.jsp passes form to sessionAction.jsp for session.setAttribute and if getAttribute has username then the sessionAction will be redirected to other jsp or else it will redirected back to authentication.jsp. This solved the logout problem.

Now, since i have sent the form from authentication.jsp to sessionAction.jsp, i am clueless how to send the same form from authentication.jsp to authentication class for username and password matching. Any guidance or hint will be appreciated. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.