tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: get servlet instance
Date Sat, 28 Jul 2007 19:39:23 GMT
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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message