> -----Original Message----- > From: Ariel [SMTP:[EMAIL PROTECTED]] > Sent: Monday, January 15, 2001 6:52 PM > To: '[EMAIL PROTECTED]' > Subject: Defining an init parameter for all servlets > > > I would like to define some initialization parameters to be used by > all servlets running on Tomcat. > Is there a way to define this in web.xml, besides copying the <init-param> > section of the global parameter to every servlet's section in web.xml? [Kitching Simon] Yep! To set a parameter accessable by all servlets *in a web application*, see "context-param" tag (or is it config-param?) in the sun servlet specification... > > Ariel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]