在jetty主目录下
配置一个myserver.xml
内容如下:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC
"-//Mort Bay Consulting//DTD Configure 1.0//EN"
"http://jetty.mortbay.org/configure_1_1.dtd">
<!--
This is a Jetty HTTP admin server configuration file. This configuration
uses the generic org.mortbay.util.XmlConfiguration class to call
the normal org.mortbay.http.HttpServer configuration API from
within an XML script.
The format of this file is described in the configure.dtd file.
The API that can be called by this file is described in the
Javadoc for Jetty.