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/20 18:38:23 UTC

PROPERTY FILE LOCATION IN TOMCAT ?

I did not get any response for my previous posting so I am posting it again.
Please respond.
Thanks
Radha

-----Original Message-----
From: Srinivasan, Radha [mailto:Radha@creekpath.com]
Sent: Thursday, April 19, 2001 9:42 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: 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