Project

General

Profile

Revision 1344

Added by berkley almost 18 years ago

a web.xml file for tomcat4

View differences:

lib/web.xml.tomcat4
1
<!DOCTYPE web-app
2
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
3
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
4

  
5
<web-app>
6
    <display-name>monarch</display-name>
7

  
8
    <context-param>
9
      <param-name>jones</param-name>
10
      <param-value>jones@nceas.ucsb.edu</param-value>
11
      <description>
12
      </description>
13
    </context-param>
14

  
15
    <servlet>
16
      <servlet-name>metacat</servlet-name>
17
      <servlet-class>edu.ucsb.nceas.metacat.MetaCatServlet</servlet-class>
18
      <init-param>
19
        <param-name>debug</param-name>
20
        <param-value>1</param-value>
21
      </init-param>
22
      <init-param>
23
        <param-name>listings</param-name>
24
        <param-value>true</param-value>
25
      </init-param>
26
      <load-on-startup>1</load-on-startup>
27
    </servlet>
28

  
29
    <servlet-mapping>
30
        <servlet-name>invoker</servlet-name>
31
        <url-pattern>/servlet/*</url-pattern>
32
    </servlet-mapping>
33

  
34
    <session-config>
35
      <session-timeout>30</session-timeout>
36
    </session-config>
37
</web-app>
0 38

  

Also available in: Unified diff