if (webContext != null) {
String root = webContext;
if (!root.startsWith("/")) {
root = '/' + root;
}
Context webAppContext = (Context) host.findChild(root);
if (webAppContext != null) {
// sub context = '/' means the service address is provided by webservices
if (WEBSERVICE_SUB_CONTEXT.equals("/") && path.startsWith("/")) {
addServlet(host, webAppContext, path, httpListener, path, addresses, false);
} else if (WEBSERVICE_SUB_CONTEXT.equals("/") && !path.startsWith("/")) {