alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (javadoc.xml)

This example Jetty source code file (javadoc.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

arg, array, array, bay, configure, configure, doctype, iso-8859-1, new, new, set, set, string, this

The Jetty javadoc.xml source code

<?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 javadoc.

This context contains only a ServletHandler with a default servlet
to serve static html files and images.
-->

<Configure class="org.mortbay.jetty.handler.ContextHandler">
  <Call class="org.mortbay.log.Log" name="debug">Configure javadoc.xml
  <Set name="contextPath">/javadoc
  <Set name="resourceBase">/javadoc/
  <Set name="handler">
    <New class="org.mortbay.jetty.handler.ResourceHandler">
      <Set name="welcomeFiles">
        <Array type="String">
          <Item>index.html
          <Item>contents.html 
        </Array>
      </Set>
      <Set name="cacheControl">max-age=3600,public
    </New>
  </Set>

</Configure>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty javadoc.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.