if (("/" + w.contextRoot).equals(standardContext.getPath()) || isRootApplication(standardContext)) { webAppInfo = w;
boolean isRoot = isRootApplication(standardContext); if (("/" + webAppInfo.contextRoot).equals(standardContext.getPath()) || isRoot) { WebContext webContext = getContainerSystem().getWebContext(webAppInfo.moduleId);