code: public InputStream getResourceAsStream(String name, BeanContextChild bcc)
          throws IllegalArgumentException
      {
          ServletContext sc = getServletContext();
          if ( sc != null )
              return sc.getResourceAsStream( name );
  
          return null;
      }
docs: Override BeanContext.getResourceAsStream() so it delegates to the current ServletContext.
  
  @param name the resource name
  @param bcc the specified child
  @return an <code>InputStream</code> for reading the resource, or
  <code>null</code> if the resource could not be found.
  @throws IllegalArgumentException <code>IllegalArgumentException</code> if the resource is not valid