I have a jsp based web application.
We have a main.jsp page which has a series of includes in so that depending on if the user is logged in or not, they will see different headers and menus. When they log in the login.jsp page sets the username and id of a bean and includes a welcome message if the login was successfully.
The problem is the main.jsp page for some reason cannot see the new data in the bean and still displays the pages as if the user isn't logged in.
Any ideas? Is it possible to make the server or browser reload everthing?
Thanks in advance.
We have a main.jsp page which has a series of includes in so that depending on if the user is logged in or not, they will see different headers and menus. When they log in the login.jsp page sets the username and id of a bean and includes a welcome message if the login was successfully.
The problem is the main.jsp page for some reason cannot see the new data in the bean and still displays the pages as if the user isn't logged in.
Any ideas? Is it possible to make the server or browser reload everthing?
Thanks in advance.