source: trunk/gsdl3/packages/vishnu/web/WEB-INF/web.xml@ 8298

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

changed some text

  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 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 <!-- edit this to provide the full path to the collections directory-->
41 <!-- make sure the path separators are correct for your platform -->
42 <param-value>path-to-vishnu/collections</param-value>
43 </init-param>
44 </servlet>
45
46 <!-- Define mappings that are used by the servlet container to
47 translate a particular request URI (context-relative) to a
48 particular servlet. The examples below correspond to the
49 servlet descriptions above. -->
50 <servlet-mapping>
51 <servlet-name>visualiser</servlet-name>
52 <url-pattern>/server</url-pattern>
53 </servlet-mapping>
54 <!-- Define the default session timeout for your application,
55 in minutes. From a servlet or JSP page, you can modify
56 the timeout for a particular session dynamically by using
57 HttpSession.getMaxInactiveInterval(). -->
58
59 <session-config>
60 <session-timeout>30</session-timeout> <!-- 30 minutes -->
61 </session-config>
62
63
64</web-app>
65
66
Note: See TracBrowser for help on using the repository browser.