code: private String buildServletPath() {
      String uri = servletPath;
      if (uri == null && null != requestURI) {
        uri = requestURI;
        if (!contextPath.equals("/")) uri = uri.substring(contextPath.length());
      }
      return (null == uri) ? "" : uri;
    }
docs: Returns servetPath without contextPath