1 Reply Latest reply on Nov 4, 2003 6:06 AM by Adrian Brock

    load properties file

    rpitre Newbie

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