Here's the situation.. 1. I got a home page with options of Login | Register | Contact | About me in jsp.. 2. Its basically a online shopping website.. 3. When the user visits the website.. the Login | Register | should be visible, but when a user logs in with his user id and pass his Username and logout button should replace the Login and Register links..
for example.. Common Home Page : Login | Register | Contact | About me
Logged in Home Page : Welcome abcde | Logout | Contact | About me
i am not getting the logic of it... if sme 1 can demonstrate me it will be of great help.