title: How to access a file under WEB-INF folder in java class
body: <p>I have a plain java class in a web application and want to read a configuration file under <code>WEB-INF</code> folder. I know the way to access the file if its in the classpath (<code>WEB-INF/classes</code> folder). Since <code>WEB-INF/classes</code> folder is meant for <code>.class</code> files, I want to keep my configuration file under <code>WEB-INF</code> folder only.  </p>
  
  <p>Can anyone tell me how I can access it from my java class?</p>