|
Hi,
Not clear from your points. After calling the logout action you can directly forward the page to the login screen using a forward with that action. I hope you will maintain the user id in the session value ,if the session value is null then you can redirect the user to the login page. Simple way to do this kind of thing is to use the Filter. The Filter is a one which will get called before or after( depending upon your need ) every request. so in that class you can check whether the session is null or not. If it is null then you can redirect to the login_page.
Regards
Felix T
|