Message-ID: <1349698803.4291.1369433729568.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4290_1895595264.1369433729567" ------=_Part_4290_1895595264.1369433729567 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The jetty.xml file is a default configuration file for Jetty and is loca=
$JETTY_HOME/etc/jetty.xml. You can call the file anythi=
ng and it can be located anywhere in the filesystem. It is supplied to jett=
y on the runline like so:
You can also have more than one configuration file:
If the id of the server is the same in each configuration file, then the= same server is configured by each file and the configurations are added to= gether. If the id of the server is different, then each config file will c= reate a new Server instance within the same JVM.
The configuration files may be parametrized with either System propertie= s (using SystemProperty tag) or properties files (using Property tag) passe= d on the command line. eg
The jetty configuration format is a simple mapping from XML to java. Wit= h this format you can call the methods defined in the javadoc to configure a server. There is a more in-depth look this synt= ax and the jetty.xml file in the Syntax Reference section.
If you need to perform more specific setup on a webapp, you can use the = jetty-web.xml file.
See Walkthrough for= a detailed explanation on the use cases.------=_Part_4290_1895595264.1369433729567--