Java Servlet - Configuration files for utility classes for Tomcat web application
I need to read a configuration file in my web application. Below is how i set up my app
src/conf/sample.properites
src/com/xyz/MyClass.java
WebContent/index.html
I get java.io.FileNotFoundException when i read the configuration file using this code below.
props.load(new FileInputStream("./conf/sample.properties"));
Can any one point me what I am doing wrong.I could able to see the properties after deploying in the folder app/WEB-INF/classes/conf folder.

