}
private void registerCarbonServlet(HttpService httpService, HttpContext defaultHttpContext)
throws ServletException, NamespaceException, InvalidSyntaxException {
if (!"false".equals(serverConfig.getFirstProperty("RequireCarbonServlet"))) {
CarbonServlet carbonServlet = new CarbonServlet(serverConfigContext);
String servicePath = "/services";
String path = serverConfigContext.getServicePath();
if (path != null) {
servicePath = path.trim();
}