Hello all.......I want to load my properties file like below.......I want to have the properties file in somewhere in my jar/war file if possible......can someone please help me out!!!!
public void loadPropertiesFile () {
try {
Properties properties = new Properties();
properties.load (new FileInputStream("portal.properties"));
System.setProperties(properties);
ServletContext.getResourceAsStream()
Regards,
Adrian