tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Hartung" <>
Subject Re: Shared servlets between webapps
Date Wed, 26 Feb 2003 21:39:20 GMT
> From: "Edson Alves Pereira" <>
> 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
> 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.


Will Hartung

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message