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:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to