return;
}
}
} else if (pathElements.length == 2 && isRootResource(vHost, pathElements[1])) {
// handle root resource request
VirtualResource resource = findVirtualResource(vHost, pathElements[1]);
httpRequest.getRequestDispatcher(resource.getPath()).forward(request, response);
return;
} else {
// normal db request
String requestedDBKey = pathElements[1];
if (vHost.isHideDefaultDatabaseInURL() && defaultDBKey != null) {