code: @Override
      protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          String theRootPath = request.getParameter(Constants.ROOT_PATH);
          String theUseRootRelativePath = request.getParameter(Constants.USE_ROOT_RELATIVE_PATH);
          if (theRootPath != null || theUseRootRelativePath != null) {
              if (theRootPath != null) {
                  GlobalConfig.rootPath = theRootPath;
              }
              if (theUseRootRelativePath != null) {
                  GlobalConfig.useRootRelativePath = "true".equals(theUseRootRelativePath);
              }
              String message = new StringBuilder().append("[").append("rootPath: ").append(theRootPath).append(", ")
                      .append("useRootRelativePath: ").append(theUseRootRelativePath).append("]").toString();
              log.debug("message: {}", message);
              response.getWriter().write(message);
          } else {
              handle(request, response);
          }
      }
docs: {@inheritDoc}