Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
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

The webdefault.xml file is a specific instance of the standard web.xml deployment descriptor that is applied to all webapplications before their own web.xml. It is used by Jetty to configure the standard mechanisms such as JSP, the default servlet and the Invoker.

There is no fixed location (or name) for the webdefault.xml file. It can be specified explicitly for a webapp by calling org.mortbay.jetty.webapp.WebAppContext.setDefaultsDescriptor(String filename).  Jetty will look for a file of this name on the classloader classpath, or failing that it tries on the filesystem. If this method isn't called, then the webdefault.xml file in the jetty.jar is used.


  • No labels
Contact the core Jetty developers at www.webtide.com
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