Specify relative path to file in web-application
Following code works fine:
try {
FileInputStream inp = new FileInputStream("C:\\MPolls\\dbconnection.properties");
props.load(inp);
inp.close();
DriverName = props.getProperty("jdbc.drivers");
DBURL = props.getProperty("jdbc.url");
} catch (FileNotFoundException ex) {
ex.printStackTrace(out);
}
Is it possible to put properties file in web-application's root and specify relative path to it.
If possible, how?

