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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


The jetty.xml file is a default configuration file for Jetty and is located at $JETTY_HOME/etc/jetty.xml. You can call the file anything and it can be located anywhere in the filesystem. It is supplied to jetty on the runline like so:

You can also have more than one configuration file. If you specify more than one on the runline, a single Jetty instance will be started with one org.mortbay.jetty.Server instance per configuration file. Eg:

The jetty configuration format is a simple mapping from XML to java. With this format you can call the methods defined in the javadoc to configure a server.

If you need to perform more specific setup on a webapp, you can use the jetty-web.xml file.

FAQ
Back to FAQ


  • 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