Javatpoint Logo

If user bookmark application page

By: jagann*** On: Fri Jun 12 17:47:41 IST 2015     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
Hi I am using struts2. If user successfully logged in then I am showing username on welcome.jsp page and bookmarked following address http://localhost:8080/CopyBrowser/welcomeAction
After that restarted server and checked bookmarked page it is showing username as it is. In this case I want to user redirect to login.jsp instead of welcome.jpg. How can I avoid it in struts2.
Up0Down
struts  x  58Tags