Show user section in jsp and Servlet pages

Asked

Viewed 323 times

2

I have an application made in JSP and Servlet that works as follows:

Before viewing the content of the site the user has to log in, I wanted to add the following function after the user successfully log in, display a welcome message,.

How to do this with java? Someone could give a light?

  • 1

    What do you have so far? How are you doing authentication, a basic filter of your own?

  • That the login and user in the bank, and I left the login page as initial , for example, when the user enters the index page of the site, the page requests the login, asking user and password, if the user is registered he enters successfully, when entering successfully I want to show in the left part coming, but login name.. A basic filter even.

  • 1

    Sign in? Sign in the user and restore their name with JSTL. Put your JSP + Servlet + Filter there :)

  • I have no knowledge of JSTL yet.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.