39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
|
|
|
|
<Configure id="Server" class="org.mortbay.jetty.Server">
|
|
<Call name="addConnector">
|
|
<Arg>
|
|
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
<Set name="port">
|
|
8080
|
|
</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
|
|
<Set name="handler">
|
|
<New id="Handlers" class="org.mortbay.jetty.handler.HandlerCollection">
|
|
<Array type="org.mortbay.jetty.Handler">
|
|
<Set name="handlers">
|
|
<Item>
|
|
<New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection"/>
|
|
</Item>
|
|
</Set>
|
|
</Array>
|
|
</New>
|
|
</Set>
|
|
|
|
<Call name="addLifeCycle">
|
|
<Arg>
|
|
<New class="org.mortbay.jetty.deployer.WebAppDeployer">
|
|
<Set name="contexts">
|
|
<Ref id="Contexts"/>
|
|
</Set>
|
|
<Set name="webAppDir">
|
|
<SystemProperty name="jetty.home" default="."/>/webapps
|
|
</Set>
|
|
</New>
|
|
</Arg>
|
|
</Call>
|
|
</Configure> |