-- adapted webapp to connect to remote eXist instances
[Bookkeeping.git] / lib / web.xml
bloba3050b7df42a7c99e451e5c56a6924e7396839e1
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         
9     <display-name>Bookkeeping UI Server</display-name>
10     <description/>
11         
12         <session-config>
13            <session-timeout>30</session-timeout>
14         </session-config>
16     <!-- BASIC SERVLET -->
17     <servlet>
18         <servlet-name>bkuiS</servlet-name>
19             <servlet-class>BasicServlet</servlet-class>
20         </servlet>
21         
22     <servlet-mapping>
23         <servlet-name>bkuiS</servlet-name>
24         <url-pattern>/basic</url-pattern>
25     </servlet-mapping>
26         
27         
28     <!-- BOOKKEEPING SERVLET -->
29     <servlet>
30         <servlet-name>bookkeeping</servlet-name>
31         <servlet-class>com.interrupt.bookkeeping.http.BookkeepingServlet</servlet-class>
32         
33         <!-- <init-param>
34                         <param-name>db.url</param-name>
35                         <param-value>xmldb:exist:///db/</param-value>
36                         <!- <param-value>xmldb:exist://localhost:8090/exist/xmlrpc/db/bookkeeping/</param-value> ->
37         </init-param>
38         <init-param>
39                         <param-name>exist.initdb</param-name>
40                         <param-value>true</param-value>
41         </init-param>
42         -->
43         <init-param>
44                         <param-name>exist.home</param-name>
45                         <param-value>/Users/timothyw/Tools/apache-tomcat-5.5.27/webapps/webkell</param-value>
46         </init-param>
47         <init-param>
48                         <param-name>org.xml.sax.features.validation</param-name>
49                         <param-value>false</param-value>
50         </init-param>
51         <init-param>
52                         <param-name>java.endorsed.dirs</param-name>
53                         <param-value>WEB-INF/lib/endorsed</param-value>
54         </init-param>
55         <!-- <init-param>
56                         <param-name>configuration0</param-name>
57                         <param-value>WEB-INF/lib/confAauth.xml</param-value>
58         </init-param>
59         <init-param>
60                         <param-name>configuration</param-name>
61                         <param-value>WEB-INF/lib/confGroups.xml</param-value>
62         </init-param>
63         <init-param>
64                         <param-name>classpath</param-name>
65                         <param-value>WEB-INF/lib/</param-value>
66         </init-param>
67         -->
68         
69     </servlet>
70         
71     <servlet-mapping>
72         <servlet-name>bookkeeping</servlet-name>
73         <url-pattern>/webkell</url-pattern>
74     </servlet-mapping>
75     
76     <listener>
77         <listener-class>
78             com.interrupt.bookkeeping.http.BookkeepingSessionListener
79         </listener-class>
80     </listener>
81     <listener>
82         <listener-class>
83             com.interrupt.bookkeeping.http.BookkeepingAttributeListener
84         </listener-class>
85     </listener>
86     
87     
88     
89         <servlet>
90                 <servlet-name>echo</servlet-name>
91                 <servlet-class>com.interrupt.bookkeeping.http.EchoServlet</servlet-class>
92         </servlet>
93         
94     <servlet-mapping>
95         <servlet-name>echo</servlet-name>
96         <url-pattern>/echo</url-pattern>
97     </servlet-mapping>
98     
99         
100     <welcome-file-list>
101         <welcome-file>webkell.xhtml</welcome-file>
102     </welcome-file-list>
103     <error-file-list>
104         <error-file>error.xhtml</error-file>
105     </error-file-list>
106 </web-app>