Originally posted by Timothy Sam:
Hi guys, this might most be possible. We have 2 applications that integrates seemlessly with each other. Now, we have a problem of destroying the session of both applications when the user logoff. Would it be possible for a Servlet to sendRedirect or forward to another servlet from another application?
App1(Logoff.do, destroy session) ----> App2(Logoff.do, destroy session) ----> App1(login.do)
I'm not using Struts, the .do is just a convention.... Thanks!
You can sendRedirect() to resource which is not in your application but not forward().
But I think, through sendRedirect(), it's not possible to send sth with request...
May be you can have a central place (DB or XML or something) for communication between both the application. :roll:
[ November 22, 2006: Message edited by: rathi ji ]