I have a dynamic web project. And i have my .properties file in webcontent/config/myApp.properties
I am able to read the properties file from
servlet using
But i have a
java class propertyloader.java in some package. All I wanted to do is load this property file from the class instead of servlet.
Any help will be greatly appreciated.
Thanks in advance.