title: getResourceAsStream not loading resource in webapp
body: <p>I have a web application that uses a library which resides in TOMCAT_HOME/common/lib.  This library looks for a properties file at the root of the classpath (in a class called ApplicationConfig):</p>
  
  <pre><code>ApplicationConfig.class.getResourceAsStream("/hv-application.properties");
  </code></pre>
  
  <p>My Tomcat web application contains this properties file.  It is in WEB-INF/classes, which is the root of the classpath right?  However, at runtime, when it tries to load the properties file, it throws an exception because it can't find it (getResourceAsStream returns null).</p>
  
  <p>Everything works fine if my application is a simple, standalone Java application.  Does Tomcat cause the getResourceAsStream method to act differently?  I know there's a lot of similar questions out there, but none of them have helped unfortunately.  Thanks.</p>