SECTION: 250-Configuration TITLE: 120xmljetty QUESTION: What is jetty.xml?
The jetty.xml file is the default configuration file for Jetty and is located at
$JETTY_HOME/etc/jetty.xml
. However, the file has no fixed location or
name and the files demo.xml and admin.xml in the same directory are both other examples
of Jetty configuration files.
The jetty configuration format is simply a mapping from XML to java and is briefly described in the Jetty Tutorial. With this format you can call the methods defined in the Jetty Javadoc to configure a server.
The jetty-web.xml file allows this format to be applied to a specific web application context.