docs: public AbstractFileResolvingResource getResource(HttpServletRequest request) throws MalformedURLException {
          String servletPath;
          String pathInfo;
          boolean included = request.getAttribute(RequestDispatcher.INCLUDE_REQUEST_URI) != null;
  
          if (included) {
              servletPath = (String) request.getAttribute(RequestDispatcher.INCLUDE_SERVLET_PATH);
              pathInfo = (String) request.getAttribute(RequestDispatcher.INCLUDE_PATH_INFO);
  
              if (servletPath == null && pathInfo == null) {
                  servletPath = request.getServletPath();
                  pathInfo = request.getPathInfo();
              }
          } else {
              servletPath = request.getServletPath();
              pathInfo = request.getPathInfo();
          }
  
          String pathInContext = addPaths(servletPath, pathInfo);
          return getResource(pathInContext);
      }