You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by louis <lo...@allsofts.com> on 2002/11/08 11:07:31 UTC
From 1 application forward to another application
Hello everyone,
I have 2 applications deploy in my tomcat, say webapp1 and webapp2. What I'm
trying to do is, when I login from webapp1, it will forward me to webapp2
jsp page.
I'm using
getServletContext().getContext("/webapp2").getRequestDispatcher("/Controller
?cmd=login").forward(request, respond);
The flow is like that, webapp1 login page -> webapp1 loginServlet ->webapp2
Controller -> webapp2 LoginCommand -> webapp2 indexmainframe.jsp page.
webapp2 indexmainframe.jsp page contains 2 frames, leftframe.jsp and
rightframe.jsp. My problem is the session which I created in LoginCommand
can't transfer to that 2 frames, leftframe and rightframe. But it transfer
to the main frameset, indexmainframe.jsp.
How can I make the session work?
Regards,
Louis
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>