1 Reply Latest reply on Nov 4, 2003 6:06 AM by adrian.brock

    load properties file

    rpitre

      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);