/[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 584 by torben, Fri Feb 5 13:57:39 2010 UTC
# Line 9  Line 9 
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      <context-param>
13            <description>Bool: Describes whether to use normal bane.dk site or use the failover (bane.dk/lite)</description>
14        <param-name>usetempsite</param-name>
15        <param-value>false</param-value>    
16      </context-param>
17      <context-param>
18            <description>Int: The error threshold for banedk circuitbreaker</description>
19            <param-name>banedk_threshold</param-name>
20            <param-value>5</param-value>
21      </context-param>
22      <context-param>
23            <description>Int: the timeout for an open banedk circuitbreaker (milliseconds) </description>
24            <param-name>banedk_timeout</param-name>
25            <param-value>60000</param-value>
26      </context-param>
27      <context-param>
28            <description>Int: how long should banedk results be cached (milliseconds) </description>
29            <param-name>cache_timeout</param-name>
30            <param-value>120000</param-value>
31      </context-param>
32    <resource-ref>    <resource-ref>
33      <description>      <description>
34        Resource reference to a factory for java.sql.Connection        Resource reference to a factory for java.sql.Connection
# Line 39  Line 59 
59      <servlet-name>DumpResultSet</servlet-name>      <servlet-name>DumpResultSet</servlet-name>
60      <url-pattern>/DumpResultSet</url-pattern>      <url-pattern>/DumpResultSet</url-pattern>
61    </servlet-mapping>    </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    
93      <servlet>
94        <description></description>
95        <display-name>CircuitBreakerServlet</display-name>
96        <servlet-name>CircuitBreakerServlet</servlet-name>
97        <servlet-class>dk.thoerup.traininfoservice.CircuitBreakerServlet</servlet-class>
98        <init-param>
99            <param-name>readonly</param-name>
100            <param-value>0</param-value>
101        </init-param>
102      </servlet>
103    
104      <servlet-mapping>
105        <servlet-name>CircuitBreakerServlet</servlet-name>
106        <url-pattern>/CircuitBreakerServlet</url-pattern>
107      </servlet-mapping>
108    
109      <listener>
110        <listener-class>dk.thoerup.traininfoservice.CircuitBreakerListener</listener-class>
111      </listener>
112  </web-app>  </web-app>

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

  ViewVC Help
Powered by ViewVC 1.1.20