I strongly recommend you make that cached information available via
another means like a request or session attribute. Servlets should
ideally be stateless because they can serve any request for that
resource with no guarantee any of them will be in the same session or
from the same client as any previous request.
--David
Skijor wrote:
How to I obtain a reference to a servlet from another
servlet? For example, I want to call a public method
on another servlet because that servlet has cached
information I need.
Thanks
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]