.welcomeFile("/index.html");
unit.errorPage(404, "/faces/404.html");
unit.errorPage(500, "/faces/500.html");
descriptor.setContents(unit.exportAsString());
}
((FileResource<?>) webRoot.getChild("404.html")).setContents(getClass().getResourceAsStream(
"/org/jboss/forge/web/404.html"));
((FileResource<?>) webRoot.getChild("500.html")).setContents(getClass().getResourceAsStream(