Hi.,
I'm using FileReader class to access by file as follows,

   protected static Properties getPTProperties() throws Exception 
   ... 
   fr = new FileReader("CustomProp.ini");

In Tomcat I'm getting error like, 

java.lang.Exception::(The system cannot find the file specified)

actually in Jrun this same code is working well.

I dont know where should i keep my properties file in tomcat.
I have tried in Tomcat bin,common/lib ,web-inf/lib and classes folders.

any suggestion?

Thanks.,
MALAI

Reply via email to