"org.mortbay.jetty.webapp.JettyWebXmlConfiguration",
"org.mortbay.jetty.webapp.TagLibConfiguration",
"org.red5.server.jetty.Red5WebPropertiesConfiguration" };
// Handler collection
HandlerCollection handlers = new HandlerCollection();
handlers.setHandlers(new Handler[] {
new ContextHandlerCollection(), new DefaultHandler() });
jetty.setHandler(handlers);
try {
// Add web applications from web app root with web config
HandlerCollection contexts = (HandlerCollection) jetty.getChildHandlerByClass(ContextHandlerCollection.class);
if (contexts == null)
contexts = (HandlerCollection) jetty.getChildHandlerByClass(HandlerCollection.class);
WebAppDeployer deployer = new WebAppDeployer();
deployer.setContexts(contexts);