Try Jason Hunter's book on servlets, Java Servlet Programming, pp. 43 ff.
At 01:56 AM 9/3/2002 -0700, you wrote: >Thanks. > >No global.jsa, eeh? > >The web.xml is a good way to go if you have flat variables that you want >placed into the application object ... but can you instantiate objects >there? Can you specify scope of those objects or will it presume >application scope? > >THanks. >Neal > > >-----Original Message----- >From: Barney Hamish [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, September 03, 2002 1:30 AM >To: 'Tomcat Users List' >Subject: RE: global.jsa > > >You can use the WEB-INF/web.xml to similar effect or you can also declare >objects to have application scope, then you have a global object that you >can access anywhere. >Hamish > > > -----Original Message----- > > From: neal [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 03, 2002 10:15 AM > > To: Tomcat Users List > > Subject: global.jsa > > > > > > Is there such a thing as a global.jsa file in Tomcat? > > > > I first saw this concept (an idea taken from ASP's > > global.asa) implemented > > in JRUN. > > > > If there is a global.jsa, does anyone know of any docs on > > this? If not, is > > there an alternative? The reason I would want to use this is > > to instantiate, > > populate, and cache a few objects upon startup of the application. If > > Tomcat does not provide a global.jsa...does anyone know how > > otherwise to > > achieve the goal? > > > > Thanks. > > Neal > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
