> From: Flavius [mailto:flav...@silverlion.com] > Subject: Location of properties file for web app in Tomcat > > 1. Where is the best place to put the properties file > if I want it located outside the war itself?
I don't think there's a "best place" that would be applicable to all environments. One mechanism that is known to work is to have the admin specify a system property at Tomcat startup indicating where the property file is located; the webapp looks at the system property during initialization and reads its properties from the specified location. The name of the system property can be whatever you choose, and could even include the context path of the webapp to allow multiple instances to be deployed in one container. - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org