Hello,
My Java application is packed into a war archive. A class reads properties from a file. I need to know path to this file, whatever I tried gives file not found exception.
here is a structure of archive
WEB-INF
classes
--------config.properties
--------com
---------------xxx
----------------------yyy
---------------------------MyClass.java
I tried "config.properties", classes/config.properties, WEB-INF/classes/config.properties, /WEB-INF/classes/config.properties all fails, plz help!