tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Hartung" <wi...@msoft.com>
Subject Re: Shared servlets between webapps
Date Wed, 26 Feb 2003 21:39:20 GMT
> From: "Edson Alves Pereira" <eapereira@panamericano.com.br>
> Sent: Wednesday, February 26, 2003 12:53 PM
> Subject: Shared servlets between webapps


> Hello folks, i want to use the same servlet with two webapps, then i
> put it in shared/classes, everything was fine and the servlet work almost
as
> i expected, but when this servlet need to get a variable from the
> environment, it has null value, why it happens and how i can solve it?

More detail is needed, but to begin with just because the servlet class
itself is shared, the actual servlet instances are within different contexts
and would actually share very little. So if you're expecting the shared
servlet to see something set by WebApp A when run in Web App B, then you'll
be disappointed.

Regards,

Will Hartung
(willh@msoft.com)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message