...
or, they can be set in a Jetty context xml file that configures a web application:
| Code Block | ||
|---|---|---|
| ||
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<Set name="contextPath">/test</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/test</Set>
...
<Set name="initParams">
<Map>
<Entry>
<Item>org.mortbay.jetty.servlet.SessionCookie</Item>
<Item>XSESSIONID</Item>
</Entry>
<Entry>
<Item>org.mortbay.jetty.servlet.SessionURL</Item>
<Item>xsessionid</Item>
</Entry>
</Map>
</Set>
</Configure>
|