/[projects]/android/TrainInfoService/WebContent/WEB-INF/web.xml
ViewVC logotype

Diff of /android/TrainInfoService/WebContent/WEB-INF/web.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 297 by torben, Wed Sep 2 04:02:47 2009 UTC revision 795 by torben, Thu Jun 3 14:12:56 2010 UTC
# Line 1  Line 1 
1  <?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
2  <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">  <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
3    <display-name>TrainInfoService</display-name>    <display-name>TrainInfoService</display-name>
4    <welcome-file-list>    <welcome-file-list>
5      <welcome-file>index.html</welcome-file>      <welcome-file>index.html</welcome-file>
6      <welcome-file>index.htm</welcome-file>      <welcome-file>index.htm</welcome-file>
7      <welcome-file>index.jsp</welcome-file>      <welcome-file>index.jsp</welcome-file>
8      <welcome-file>default.html</welcome-file>      <welcome-file>default.html</welcome-file>
9      <welcome-file>default.htm</welcome-file>      <welcome-file>default.htm</welcome-file>
10      <welcome-file>default.jsp</welcome-file>      <welcome-file>default.jsp</welcome-file>
11    </welcome-file-list>    </welcome-file-list>
12    <resource-ref>    <context-param>
13      <description>      <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>
14        Resource reference to a factory for java.sql.Connection      <param-name>usetempsite</param-name>
15        instances that may be used for talking to the database      <param-value>false</param-value>
16        that is configured in server.xml.    </context-param>
17      </description>    <context-param>
18      <res-ref-name>jdbc/android</res-ref-name>      <description>Int: The error threshold for banedk circuitbreaker</description>
19      <res-type>javax.sql.DataSource</res-type>      <param-name>banedk_threshold</param-name>
20      <res-auth>Container</res-auth>      <param-value>5</param-value>
21    </resource-ref>    </context-param>
22    <servlet>    <context-param>
23      <description></description>      <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
24      <display-name>LocateStations</display-name>      <param-name>banedk_timeout</param-name>
25      <servlet-name>LocateStations</servlet-name>      <param-value>60000</param-value>
26      <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>    </context-param>
27    </servlet>    <context-param>
28    <servlet-mapping>      <description>Int: how long should banedk results be cached (milliseconds) </description>
29      <servlet-name>LocateStations</servlet-name>      <param-name>cache_timeout</param-name>
30      <url-pattern>/LocateStations</url-pattern>      <param-value>120000</param-value>
31    </servlet-mapping>    </context-param>
32    <servlet>    <resource-ref>
33      <description></description>      <description>
34      <display-name>DumpResultSet</display-name>        Resource reference to a factory for java.sql.Connection
35      <servlet-name>DumpResultSet</servlet-name>        instances that may be used for talking to the database
36      <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>        that is configured in server.xml.
37    </servlet>      </description>
38    <servlet-mapping>      <res-ref-name>jdbc/android</res-ref-name>
39      <servlet-name>DumpResultSet</servlet-name>      <res-type>javax.sql.DataSource</res-type>
40      <url-pattern>/DumpResultSet</url-pattern>      <res-auth>Container</res-auth>
41    </servlet-mapping>    </resource-ref>
42      <servlet>
43        <description></description>
44        <display-name>LocateStations</display-name>
45        <servlet-name>LocateStations</servlet-name>
46        <servlet-class>dk.thoerup.traininfoservice.LocateStations</servlet-class>
47      </servlet>
48      <servlet-mapping>
49        <servlet-name>LocateStations</servlet-name>
50        <url-pattern>/LocateStations</url-pattern>
51      </servlet-mapping>
52      <servlet>
53        <description></description>
54        <display-name>DumpResultSet</display-name>
55        <servlet-name>DumpResultSet</servlet-name>
56        <servlet-class>dk.thoerup.traininfoservice.DumpResultSet</servlet-class>
57      </servlet>
58      <servlet-mapping>
59        <servlet-name>DumpResultSet</servlet-name>
60        <url-pattern>/DumpResultSet</url-pattern>
61      </servlet-mapping>
62      <servlet>
63        <description></description>
64        <display-name>LoadStations</display-name>
65        <servlet-name>LoadStations</servlet-name>
66        <servlet-class>dk.thoerup.traininfoservice.LoadStations</servlet-class>
67      </servlet>
68      <servlet-mapping>
69        <servlet-name>LoadStations</servlet-name>
70        <url-pattern>/LoadStations</url-pattern>
71      </servlet-mapping>
72      <servlet>
73        <description></description>
74        <display-name>DepartureServlet</display-name>
75        <servlet-name>DepartureServlet</servlet-name>
76        <servlet-class>dk.thoerup.traininfoservice.banedk.DepartureServlet</servlet-class>
77      </servlet>
78      <servlet-mapping>
79        <servlet-name>DepartureServlet</servlet-name>
80        <url-pattern>/DepartureServlet</url-pattern>
81      </servlet-mapping>
82      <servlet>
83        <description></description>
84        <display-name>TimetableServlet</display-name>
85        <servlet-name>TimetableServlet</servlet-name>
86        <servlet-class>dk.thoerup.traininfoservice.banedk.TimetableServlet</servlet-class>
87      </servlet>
88      <servlet-mapping>
89        <servlet-name>TimetableServlet</servlet-name>
90        <url-pattern>/TimetableServlet</url-pattern>
91      </servlet-mapping>
92      <servlet>
93        <description></description>
94        <display-name>CircuitBreakerServlet</display-name>
95        <servlet-name>CircuitBreakerServlet</servlet-name>
96        <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
97        <init-param>
98          <param-name>readonly</param-name>
99          <param-value>0</param-value>
100        </init-param>
101      </servlet>
102      <servlet-mapping>
103        <servlet-name>CircuitBreakerServlet</servlet-name>
104        <url-pattern>/CircuitBreakerServlet</url-pattern>
105      </servlet-mapping>
106      <listener>
107        <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
108      </listener>
109      <servlet>
110        <description></description>
111        <display-name>TestServlet</display-name>
112        <servlet-name>TestServlet</servlet-name>
113        <servlet-class>dk.thoerup.traininfoservice.TestServlet</servlet-class>
114      </servlet>
115      <servlet-mapping>
116        <servlet-name>TestServlet</servlet-name>
117        <url-pattern>/TestServlet</url-pattern>
118      </servlet-mapping>
119      <servlet>
120        <description></description>
121        <display-name>RequestPlotter</display-name>
122        <servlet-name>RequestPlotter</servlet-name>
123        <servlet-class>dk.thoerup.traininfoservice.RequestPlotter</servlet-class>
124      </servlet>
125      <servlet-mapping>
126        <servlet-name>RequestPlotter</servlet-name>
127        <url-pattern>/RequestPlotter</url-pattern>
128      </servlet-mapping>
129  </web-app>  </web-app>

Legend:
Removed from v.297  
changed lines
  Added in v.795

  ViewVC Help
Powered by ViewVC 1.1.20