Friends:
I am using Tomcat.
I put the properties file in web-inf/classes directory.
I have my servlet in a package xxx.yyy.zzz.TestServlet.
The package resides in web-inf/classes.
I use the following way to access the code
String strFileName = "/Props.props";
BufferedInputStream in = new BufferedInputStream(new FileInputStream(
strFileName));
It gives me exception.
Any help appreciated
Gunjan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets