Files
i2p.i2p/installer/resources/eepsite/contexts/base-context.xml

30 lines
879 B
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<!--
Configure a custom context for the eepsite.
This context contains only a ServletHandler with a default servlet
to serve static html files and images.
-->
<Configure class="org.mortbay.jetty.handler.ContextHandler">
<Set name="contextPath">/</Set>
<Set name="resourceBase">./eepsite/docroot/</Set>
<Set name="handler">
<New class="org.mortbay.jetty.servlet.ServletHandler" >
<Call name="addServletWithMapping">
<Arg>
<New class="org.mortbay.jetty.servlet.ServletHolder">
<Arg>
<New class="org.mortbay.jetty.servlet.DefaultServlet" />
</Arg>
</New>
</Arg>
<Arg>/</Arg>
</Call>
</New>
</Set>
</Configure>