devdaily home | apple | java | perl | unix | directory | blog

What this is

This file 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.

Other links

The source code

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app 
   xmlns="http://java.sun.com/xml/ns/javaee" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
   version="2.5"> 


<!-- This web.xml format file is an override file that is applied to the test webapp AFTER
     it has been configured by the default descriptor and the WEB-INF/web.xml descriptor -->

  <!-- Add or override context init parameter -->
  <context-param>
    <param-name>context-override-example
    <param-value>a context value
  </context-param>

  <!-- Add or override servlet init parameter -->
  <servlet>
    <servlet-name>Dump
    <init-param>
      <param-name>servlet-override-example
      <param-value>a servlet value
    </init-param>
  </servlet>

  <!-- Add servlet mapping -->
  <servlet-mapping>
    <servlet-name>Dump
    <url-pattern>*.more
  </servlet-mapping>

  <!-- Reset servlet class and/or start order -->
  <servlet>
    <servlet-name>Session
    <servlet-class>com.acme.SessionDump
    <load-on-startup>5
  </servlet>
  
</web-app>





Copyright 1998-2008 Alvin Alexander
All Rights Reserved.
 
devdaily.com is based in louisville, kentucky, and this web site is hosted by godaddy.com