sync
[Bookkeeping.git] / lib / web.xml
blob6d4864998f7606d3f6195203e16b3610aced6c47
1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <!DOCTYPE web-app
4     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
5     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
7 <web-app>
8 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
9 * Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
10 * Use is subject to license terms.                                            *
11 * X_LZ_COPYRIGHT_END ****************************************************** -->
12         
13     <display-name>Bookkeeping UI Server</display-name>
14     <description/>
15         
16         <session-config>
17            <session-timeout>30</session-timeout>
18         </session-config>
20     <!-- BASIC SERVLET -->
21     <servlet>
22         <servlet-name>bkuiS</servlet-name>
23             <servlet-class>BasicServlet</servlet-class>
24         </servlet>
25         
26     <servlet-mapping>
27         <servlet-name>bkuiS</servlet-name>
28         <url-pattern>/basic</url-pattern>
29     </servlet-mapping>
30         
31         
32     <!-- BOOKKEEPING SERVLET -->
33     <servlet>
34         <servlet-name>bookkeeping</servlet-name>
35         <servlet-class>com.interrupt.bookkeeping.http.BookkeepingServlet</servlet-class>
36         
37         <init-param>
38                         <param-name>db.url</param-name>
39                         <param-value>xmldb:exist://localhost:8090/exist/xmlrpc/db/bookkeeping/</param-value>
40         </init-param>
41         <init-param>
42                         <param-name>exist.initdb</param-name>
43                         <param-value>true</param-value>
44         </init-param>
45         <init-param>
46                         <param-name>exist.home</param-name>
47                         <param-value>C:\Tools\apache-tomcat-5.5.25\webapps\webkell\</param-value>
48         </init-param>
49         <init-param>
50                         <param-name>org.xml.sax.features.validation</param-name>
51                         <param-value>false</param-value>
52         </init-param>
53         <init-param>
54                         <param-name>java.endorsed.dirs</param-name>
55                         <param-value>WEB-INF\lib\endorsed</param-value>
56         </init-param>
57         <init-param>
58                         <param-name>configuration</param-name>
59                         <param-value>WEB-INF\exist-conf.xml</param-value>
60         </init-param>
61         
62     </servlet>
63         
64     <servlet-mapping>
65         <servlet-name>bookkeeping</servlet-name>
66         <url-pattern>/webkell</url-pattern>
67     </servlet-mapping>
68     
69     <listener>
70         <listener-class>
71             com.interrupt.bookkeeping.http.BookkeepingSessionListener
72         </listener-class>
73     </listener>
74     <listener>
75         <listener-class>
76             com.interrupt.bookkeeping.http.BookkeepingAttributeListener
77         </listener-class>
78     </listener>
79     
80     
81     
82         <servlet>
83                 <servlet-name>echo</servlet-name>
84                 <servlet-class>com.interrupt.bookkeeping.http.EchoServlet</servlet-class>
85         </servlet>
86         
87     <servlet-mapping>
88         <servlet-name>echo</servlet-name>
89         <url-pattern>/echo</url-pattern>
90     </servlet-mapping>
91     
92         
93     <welcome-file-list>
94         <welcome-file>webkell.xhtml</welcome-file>
95     </welcome-file-list>
96     <error-file-list>
97         <error-file>error.xhtml</error-file>
98     </error-file-list>
99 </web-app>