You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Srinivasan, Radha" <Ra...@creekpath.com> on 2001/04/19 17:41:45 UTC

Property file location in tomcat?

Hi all,
Thanks in advance.
tomcat version - 3.2.1
OS : Windows 2000

I have created a separate project directory (not under webapps) and I have
modified the server.xml in conf directory.
<Context path="/myproj" 
                 docBase="H:/myproj" 
                 crossContext="true"
                 debug="0" 
                 reloadable="true" 
                 trusted="false" > 
 </Context>
I have some servlets and everything seems to work fine except when I access
property file.
Tomcat looks for the property file under tomcat/bin directory. Why is it not
looking at my project root directory?
Is there any way to set it?

Radha Srinivasan
Software Engineer
Email : radha@creekpath.com 
303.417.7329 office
303.417.7416 fax