I have a struts application on JBOSS in whcih I have a logout button which points to "logout.do".
In the logout Action, I invalidate the session. In my struts-config.xml i have this configuration for logout action: <action | path="/logout" | type="com.myapp.actions.LogoutAction"> | <forward name="success" path="/home.html"/> | </action> The reason I have the forward to "home.html" is because I want the user to come back to home once he logs back in. I was hoping that JAAS security would kick in and show the login page after the user clicks on "logout" button. But this does not happen. When the user clicks on "logout", the session is invalidated and the home.html page is shown to the user. Only when the user tries something on this page, he gets the login page. Is there something wrong I am doing? Please advise. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973471#3973471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973471 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user