Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed error in XML example


Code Block
<Configure class="org.mortbay.jetty.handler.ContextHandler">
   <Set name="contextPath">/javadoc</Set>
   <Set name="resourceBase"><SystemProperty name="jetty.home" default="."/>/javadoc</Set>
     <Call name="addHandler">
            <New class="org.mortbay.jetty.handler.ResourceHandler">

The ContextHandler is used to match urls of the form /javadoc/*, and to set up the location of the static resources (again $JETTY-HOME/javadoc). The ResourceHandler serves the resources.

Contact the core Jetty developers at
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery