You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gary Raley <gr...@actsi.com> on 2000/11/07 16:46:00 UTC

Locating property files

My servlet requires access to a properties file and I'm trying to
determine the best implementation.   I tried copying the properties file
to the Webapps\"ContextRoot"\Web-Inf\lib directory, but Tomcat could not
locate the file.  I had to add the properties file to the classpath
within TOMCAT.BAT to enable Tomcat to locate the properties file.  Is
this my only solution?

Thanks in advance for your help,
Gary

graley@actsi.com