2011-12-23 00:56:48 +00:00
|
|
|
<?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.
|
|
|
|
|
2012-03-09 20:00:18 +00:00
|
|
|
This context contains only a Context with a default servlet
|
2011-12-23 00:56:48 +00:00
|
|
|
to serve static html files and images.
|
|
|
|
-->
|
|
|
|
|
2012-03-09 20:00:18 +00:00
|
|
|
<Configure class="org.mortbay.jetty.servlet.Context">
|
2011-12-23 00:56:48 +00:00
|
|
|
<Set name="contextPath">/</Set>
|
|
|
|
<Set name="resourceBase">./eepsite/docroot/</Set>
|
2012-03-14 12:04:20 +00:00
|
|
|
<Call name="setInitParams">
|
|
|
|
<Arg>
|
|
|
|
<Map>
|
|
|
|
<Entry>
|
|
|
|
<Item>orb.mortbay.jetty.servlet.Default.cacheControl</Item>
|
|
|
|
<Item>max-age=3600,public</Item>
|
|
|
|
</Entry>
|
|
|
|
</Map>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
2012-03-09 20:00:18 +00:00
|
|
|
<Call name="addServlet">
|
|
|
|
<Arg>org.mortbay.jetty.servlet.DefaultServlet</Arg>
|
|
|
|
<Arg>/</Arg>
|
|
|
|
</Call>
|
2011-12-23 00:56:48 +00:00
|
|
|
</Configure>
|
|
|
|
|