Hello Pawel, well the intercepter can get a message that suggest us to have a login before proceeding, I guess that can be done, I was trying this thing as I am a newbie in Struts and I was exploring the possibilities. Thats the best I can do :)
Thanks for ur help and suggestions. Regards, Baran Paweł Wielgus wrote: > > Hi, > yes it's the case, > because if You are firing ajax request to server it doesn't really > care if it's ajax or plain html request, > so the responsibility to behave properly is on the page side. > I don't know if your interceptor returning html code (page) is ok for You? > Or maybe it should return something else to tell the page to reload all of > it? > Because as i think You would like to achieve such scenario: > 1. user session is lost > 2. user clicks on a link (ajax call) > 3. interceptor catches the call and states that it's not allowed > 4. page is getting some kind of info that this request is no more > accessible and it should go to loginPage.jsp - total reload of the > page > > I haven't been doing such things so i won't help You much with it more. > > Best greetings, > Paweł Wielgus. > > > 2009/4/16 Baran <baran.k...@gmail.com>: >> >> Hi, >> >> Okay, this is the response I get, I did used the same thing that you are >> suggesting, Can it be an issue that I am using AJAX, as the html code of >> the >> login page is coming as a response of the http request I am making, do I >> have to redirect it via my JSP page(using javascript)? As otherwise I >> guess >> the whole thing is working fine. >> >> Regards, >> Baran >> -- >> View this message in context: >> http://www.nabble.com/Session-Management-tp23074591p23076002.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Session-Management-tp23074591p23076293.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org