code: @Override
      public InputStream getResourceStream (String path)
          throws ResourceNotFoundException
      {
          // make sure we were properly initialized
          if (_sctx == null) {
              String errmsg = "ServletContextResourceLoader not properly " +
                  "initialized. Can't load resources.";
              throw new ResourceNotFoundException(errmsg);
          }
  
          // load it on up
          InputStream stream = _sctx.getResourceAsStream(path);
          if (stream == null) {
              String errmsg = "Unable to load resource via servlet context " +
                  "[path=" + path + "].";
              throw new ResourceNotFoundException(errmsg);
          }
          return stream;
      }
docs: Returns the input stream that can be used to load the named
  resource.
  
  @param path the path (relative to the webapp root) of resource to
  get.
  
  @return an input stream that can be used to read the resource.
  
  @exception ResourceNotFoundException if the resource was not found.