Hi
I have packed a property file in the WAR under the package WEB-INF as
/WEB-INF/Contant.properties
I want to read and extract the contents of this property file in my
java class.
My code is as follows:
String filePath = "/WEB-INF/Contant.properties";
Properties prop = new Properties();
prop.load(new FileInputStream(filePath));
Hashtable ptable = (Hashtable)prop;
is this correct ???
thanks in advance
KSK