> From: Kimberly Begley [mailto:[EMAIL PROTECTED] > Subject: where to put config file in a webapp > > Currently it is in WEB-INF
Normally, such a properties or config file would be placed in WEB-INF/classes, and accessed via ServletContext.getResourceAsStream(). > I read online that I could put the entry in the web.xml file? See section 4 of the Servlet Spec, in particular the ServletContext.getInitParameter() API, then look at the Tomcat doc for where to set them: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Context%20Pa rameters - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]