tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zeallousbigpond.net.au" <zeall...@bigpond.net.au>
Subject Accessing objects with any servlets, where the object is already pre-created
Date Tue, 07 Oct 2003 10:42:32 GMT

Hi guys!

Is it possible to create a bunch of objects, put them aside, and Servlets can just access
them any time without recreating those objects or having to pass them around??

say, Vector s = a very large vector of Strings that will appear in many servlets, but now
I don't want to have to create them in each servlet, I want to have them pre-created somewhere,
and servlets will go grab them when they need that Vector of Strings.

Thanks!

Anson
                                                                      


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