Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 28b06ea5813026acce23d584e6145f8324580fd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.servlet.ServletContextHandler">
  <!-- this configures the servlet session manager -->
  <Set name="SessionHandler">
    <New class="org.eclipse.jetty.server.session.SessionHandler"/>
  </Set>
  <!-- this servlet provides the OSGi HTTP Service once it is initialized -->
  <Call name="addServlet">
    <Arg>org.eclipse.equinox.http.servlet.HttpServiceServlet</Arg>
    <Arg>/*</Arg>
    <Set name="InitOrder">1</Set>
  </Call>
  <!-- custom pluggable error handler -->
  <Set name="ErrorHandler">
    <New class="org.eclipse.jetty.osgi.httpservice.HttpServiceErrorPageErrorHandler"/>
  </Set>
</Configure>

Back to the top