if (s != null && s.length() > 0) {
if (s.charAt(0) != '/') s = '/' + s;
_cwr.setExtraLocator(new ServletContextLocator(_ctx, null, s));
}
Labels.register(new ServletLabelLocator(_ctx));
Labels.setVariableResolver(new ServletLabelResovler());
//create a WebApp instance
final Class cls = config.getWebAppClass();
if (cls == null) {