* Update default eepsite base context to use DefaultServlet

instead of ResourceHandler, to provide resume, directory
    indexes, caching, etc.
This commit is contained in:
zzz
2012-03-09 16:03:27 +00:00
parent e4257f28c9
commit e331800898
3 changed files with 17 additions and 8 deletions

View File

@ -1,4 +1,9 @@
2012-03-09 zzz
* Update default eepsite base context to use DefaultServlet
instead of ResourceHandler, to provide resume, directory
indexes, caching, etc.
2012-03-08 zzz
* GarlicConfig: Remove unused reply block methods
* SessionKeyManager:
- Don't use unacked tagsets after consecutive ack failures

View File

@ -12,13 +12,17 @@ to serve static html files and images.
<Set name="contextPath">/</Set>
<Set name="resourceBase">./eepsite/docroot/</Set>
<Set name="handler">
<New class="org.mortbay.jetty.handler.ResourceHandler">
<Set name="welcomeFiles">
<Array type="String">
<Item>index.html</Item>
</Array>
</Set>
<Set name="cacheControl">max-age=3600,public</Set>
<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>

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 7;
public final static long BUILD = 8;
/** for example "-test" */
public final static String EXTRA = "";