code: public String fixPathInfo(String path)
      {
          if (path == null)
              return null;
          if (path.startsWith("/"))
              path = path.substring(1);   // Resources already start from root/baseURL
          if (baseURL == null)
              if (properties != null)
                  if (this.getProperty(BASE_PATH) != null)
                      path = this.getProperty(BASE_PATH) + path;
          return path;
      }
docs: Get the file path from the request.
  @param request
  @return