I have an application made in JSP and servlet that works as follows:
Before viewing the content of the site the user has to do a login, I wanted to add the following function after the user log in successfully, display a welcome message, UserDoginName, ie retrieve the user name and display is message in the corner of the screen.
How to do this with java? Could anyone give a light?