title: How to access a property file using java using Weblogic Server?
body: <p>I have one property file .properties and I can load that file in stand alone Java Class as below:</p>
  
  <pre><code>Properties props = new Properties();
  try {
      FileInputStream fis =
          new FileInputStream("D:\\Examples\\Simple\\src\\properties.xml");
      props.loadFromXML(fis);
      // props.list(System.out);
      path = props.getProperty("path");
      System.out.println("\nThe path property: "
          + props.getProperty("path"));
      props.load(new FileInputStream(path));
      filePath = props.getProperty("path");
      System.out.println(filePath);
  }
  catch (IOException e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>Now I need to implement logic that can allow me load the property file using Weblogic Server. So basically anytime i change anything in .proprties file i don't need to build the applicatio everytime and it can be integrated with server. I am using Jdeveloper and Weblogic Server 10.3. How can i setup Property file with server based java files?</p>