Try put them into WEB-INF/classes, it works for me.

jerry

-----Original Message-----
From: Wang, Monica [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 10:55 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: loading a property file from a standard java class


Hi, Batsheva,
I found your email about "calling a config file from bean",  did you find
out which directory the conf file (property file) should be in Tomcat? I am
loading a properties file from a standard java class that was called by a
servlet, but get "the system cannot find the file specified" error message.
I tried to put it in different directories, but fail to get it to work. can
you help?
Monica



 

Reply via email to