You can pass it as a variable in tomcat's startup.sh (unix, linux) or startup.bat (windows) in the bin directory. Modify that file and add something like this right before the last line:
#Added link to external property file JAVA_OPTS='-Dmy.props.dir=/opt/tomcat/properties' export JAVA_OPTS -----Original Message----- From: yaliu07 [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 11:44 AM To: users@tomcat.apache.org Subject: tomcat external property file hi. i like to have tomcat to load an external property file that i can declare some variable only local to the machine, such as image path. can anybody give me any help how to load an external property file when tomcat starts?? thanks -- View this message in context: http://www.nabble.com/tomcat-external-property-file-tf2371317.html#a6606 189 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]