title: How to get folder path runtime
body: <p>I am new to java.</p>
  
  <p>I am using this code </p>
  
  <pre><code>MyClass.class.getClassLoader().getResourceAsStream("myfile.properties")
  </code></pre>
  
  <p>to the values from property file.</p>
  
  <p>Now i am storing the webdriver in a folder under project, would like to get the path dybamically, so im using this code:</p>
  
  <pre><code>MyClass.class.getClassLoader().getResourceAsStream("Drivers\\IEDriverServer_x64_2.50.0.zip")
  </code></pre>
  
  <p>but this returns null, can any one suggest me how to read the file/folder located under the project?</p>