Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Contact the core Jetty developers at
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ...
scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata
Web Application Deployer
The WebApp Deployer is for static deployment standard WAR files and webapps with little or no Jetty specific customization. For hot deployment of customized contexts, use the Context Deployer.
The WebAppDeployer replaces the static method call org.mortbay.jetty.webapp.WebAppContext.addWebApplications that was used to discover and deploy webapplication during startup. This method is now deprecated, but still works (by calling an instance of WebApplicationDeployer).
The basic operation of WebAppDeployer is to scan a directory at startup for WAR files or webapp directories and the deploy the webapplications found. Typically this is done from a jetty.xml file: