public InputStream getResourceAsStream(String path) {

        try {
            return (getResource(path).openStream());
        } catch (Throwable t) {
            return (null);
        }

    }
public InputStream getResourceAsStream(String path) {

        try {
            return (getResource(path).openStream());
        } catch (Throwable t) {
            return (null);
        }

    }
public InputStream getResourceAsStream ( String path ) { try { return ( getResource ( path ) . openStream ( ) ) ; } catch ( Throwable t ) { return ( null ) ; } }
Return an InputStream allowing access to the resource at the
specified context-relative path.

@param path Context-relative path of the desired resource
Return an InputStream allowing access to the resource at the specified context - relative path .