Hi,
I am using Struts2 in my application. In my application I have one login form and one main page. on the successfull login I call main page and inside that main page I have called another action. Upto this all is working fine and page is also display after successfull login but when I press F5 or clik on browser refresh button it will give me login page but I want the same page on which I fire F5 or refresh button. How can I achieve this, my struts.xml is as follow..
After login I call main.jsp and from main.jsp I am calling mytable action. After showing me the main page the address bar of browser still shows me the Login action means
http://localhost:8080/Login is it ok or it should shows me like
http://localhost:8080/mytable
So please help me how can I maintain session.