Hi,
I have created a .war file
when i extracted the war file the directory structure looks liks this
( mywar .war )
--jsp files
--WEB-INF
------ classes
----------- app.conf
and i have deployed it.
I want to load the property file .... app.conf
This is the code i have given
getClass().getClassLoader().getResource("app.conf")
Try this:
getClass().getClassLoader().getResource("WEB-INF/classes/app.conf");