> From: "Edson Alves Pereira" <[EMAIL PROTECTED]>
> 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
([EMAIL PROTECTED])




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to