protected Resource getResource ( String pathInContext ) throws IOException { Resource r = ( _resourceBase == null ) ? _httpContext . getResource ( pathInContext ) : _resourceBase . addPath ( pathInContext ) ; if ( log . isDebugEnabled ( ) ) log . debug ( "RESOURCE=" + r ) ; return r ; }
get Resource to serve . Map a path to a resource . The default implementation calls HttpContext . getResource but derived servlets may provide their own mapping .