source: trunk/gsdl3/extensions/vishnu/web/WEB-INF/web.xml@ 8297

Last change on this file since 8297 was 8297, checked in by kjdon, 19 years ago

sample web.xml for using vishnu standalone with tomcat

  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<!DOCTYPE web-app
4 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
5 "http://java.sun.com/dtd/web-app_2_3.dtd">
6
7<!-- this is based on a sample web.xml file provided by
8http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/web.xml.txt
9-->
10<web-app>
11
12
13 <!-- General description of your web application -->
14
15 <display-name>VISHNU</display-name>
16 <description>
17 Collection server for Imperial College's new Vishnu Visualisation tool.
18 </description>
19
20 <context-param>
21 <param-name>webmaster</param-name>
22 <param-value>enter your email address here</param-value>
23 <description>
24 The EMAIL address of the administrator to whom questions
25 and comments about this application should be addressed.
26 </description>
27 </context-param>
28
29
30 <!-- Servlet definitions for the servlets that make up
31 your web application, including initialization
32 parameters.
33 -->
34 <servlet>
35 <servlet-name>visualiser</servlet-name>
36 <description>imperial college vishnu servlet</description>
37 <servlet-class>vishnu.server.VisServlet</servlet-class>
38 <init-param>
39 <param-name>collectionsHome</param-name>
40 <param-value>enter the full path to the collections directory</param-value>
41 </init-param>
42 </servlet>
43
44 <!-- Define mappings that are used by the servlet container to
45 translate a particular request URI (context-relative) to a
46 particular servlet. The examples below correspond to the
47 servlet descriptions above. -->
48 <servlet-mapping>
49 <servlet-name>visualiser</servlet-name>
50 <url-pattern>/server</url-pattern>
51 </servlet-mapping>
52 <!-- Define the default session timeout for your application,
53 in minutes. From a servlet or JSP page, you can modify
54 the timeout for a particular session dynamically by using
55 HttpSession.getMaxInactiveInterval(). -->
56
57 <session-config>
58 <session-timeout>30</session-timeout> <!-- 30 minutes -->
59 </session-config>
60
61
62</web-app>
63
64
Note: See TracBrowser for help on using the repository browser.