title: Usage of Thread.currentThread().getContextClassLoader().getResourceAsStream("system.properties")
body: <p>In my web application, I have kept system.properties file in the web-inf/classes folder.</p>
  
  <p>To Access that file's inputstream, I am using the code snippet below:</p>
  
  <pre><code>InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(SYSTEM_PROPERTIES_FILE)
  </code></pre>
  
  <p>Is there any other way to access that file?</p>