code: protected String getRootContext(HttpServletRequest request) {
  		if (StringUtils.isEmpty(coreConfig.getStripRootContext())) {
  			return request.getContextPath() + AdminTool.ROOTCONTEXT;
  		}
  		return request.getContextPath().replaceFirst(Pattern.quote(coreConfig.getStripRootContext()), "") + AdminTool.ROOTCONTEXT;
  	}
docs: returns the root context path for admintool<br>
  /&lt;web-app-context&gt;/{@link AdminTool#ROOTCONTEXT}
  @param request
  @return