tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vidar Langberget" <vi...@langberget.com>
Subject Re: shared object cache
Date Mon, 24 Nov 2003 14:14:00 GMT

----- Original Message ----- 
From: "Shapira, Yoav" Yoav.Shapira@mpi.com

> Howdy,
> If you're using servlets,
> getServletContext().setAttribute("myPersistenceManager",
> myPersistenceManager) would do the trick.  If you're using JSPs, it's
> pageContext.setAttribute(...).


Is there any reason why it is better to use the servlet context instead of a
Static manager class?


regards,

Vidar



---------------------------------------------------------------------
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