Howdy, Perhaps the GlobalNamingResources is what you're looking for? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/globalresources.h tml
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Karl Moss [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, February 11, 2003 9:49 AM >To: [EMAIL PROTECTED] >Subject: Binding to Tomcat 4.x JNDI context > >I'd like to be able to bind an object to the JNDI context during the >initialization of a servlet so that other servlets (within other webapps) >can find it. The java:comp/env directory is read-only, so where is the best >place to bind? If I bind the object in the context root it seems to be only >visible from within the same webapp; I would like to share this object with >anyone in the container. > >Thanks, > >Karl Moss >[EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
