use <context-param> <param-name>param</param-name> <param-value>value</param-value> </context-param>
in the web.xml and String param = servletContext.getInitParameter("param"); in the JSP. ----- Original Message ----- From: "Duncan" <[EMAIL PROTECTED]> To: "Tomcat User List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 5:08 PM Subject: Global Variables > Is there a way to set global variables in the web.xml which can be read > by any JSP page? > > Cheers, > -Duncan > > > --------------------------------------------------------------------- > 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]