On Wed, 21 Mar 2001, Wyn Easton wrote:

> Hello,
> 
> I have been reading everything I could find about
> ServletContext and have not been able to find an
> example of how to share a servlet in one web
> application with servlets in other web applications.
> 
> I can get a RequestDispather for a servlet in another
> web application, but when I "forward" to that servlet
> I loose the session I had.  
> 
> Is there a way that the servlet I forward to in
> another
> web application could be considered part of my web
> application so I can keep the same session?
> 

No.  Web applications are defined (in the Servlet Specification) to be
totally independent of each other, and a servlet container is specifically
prohibited from sharing sessions across web apps.

> Thanks.
> 

Craig McClanahan

Reply via email to