-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathweb.xml
62 lines (58 loc) · 2.08 KB
/
web.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app>
<servlet id="hello_servlet_id">
<servlet-name>hello</servlet-name>
<servlet-class>com.davidflanagan.examples.servlet.Hello</servlet-class>
</servlet>
<servlet>
<servlet-name>counter</servlet-name>
<servlet-class>com.davidflanagan.examples.servlet.Counter</servlet-class>
<init-param>
<param-name>countfile</param-name>
<param-value>/tmp/counts.ser</param-value>
</init-param>
<init-param>
<param-name>saveInterval</param-name>
<param-value>30000</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>query</servlet-name>
<servlet-class>com.davidflanagan.examples.servlet.Query</servlet-class>
<init-param>
<param-name>driverClassName</param-name>
<param-value>org.gjt.mm.mysql.Driver</param-value>
</init-param>
<init-param>
<param-name>url</param-name>
<param-value>jdbc:mysql://dbserver.my.domain.com/dbname</param-value>
</init-param>
<init-param>
<param-name>username</param-name>
<param-value>david</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>secret</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>queryOtherDatabase</servlet-name>
<servlet-class>com.davidflanagan.examples.servlet.Query</servlet-class>
</servlet>
<servlet>
<servlet-name>logout</servlet-name>
<servlet-class>com.davidflanagan.examples.servlet.Logout</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>counter</servlet-name>
<url-pattern>*.count</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>15</session-timeout>
</session-config>
<taglib>
<taglib-uri>http://www.davidflanagan.com/tlds/decor_0_1.tld</taglib-uri>
<taglib-location>decor_0_1.tld</taglib-location>
</taglib>
</web-app>