Using following code
Properties p=new Properties();
InputStream in=getClass().getResourceAsStream("/test.properties");
p.load(in);
then put the file in the web-inf/classes
sometimes minor detail means many.
Using following code
Properties p=new Properties();
InputStream in=getClass().getResourceAsStream("/test.properties");
p.load(in);
then put the file in the web-inf/classes
sometimes minor detail means many.