summaryrefslogtreecommitdiffhomepage
path: root/test/java/url_pattern/web.xml
blob: 048400a6a7204a4c5c4beb9913c35063c7de0c54 (plain) (blame)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8" ?>

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="3.0">

    <servlet>
        <servlet-name>servlet0</servlet-name>
        <servlet-class>app</servlet-class>
        <init-param><param-name>id</param-name><param-value>servlet0</param-value></init-param>
    </servlet>

    <servlet>
        <servlet-name>servlet1</servlet-name>
        <servlet-class>app</servlet-class>
        <init-param><param-name>id</param-name><param-value>servlet1</param-value></init-param>
    </servlet>

    <servlet>
        <servlet-name>servlet2</servlet-name>
        <servlet-class>app</servlet-class>
        <init-param><param-name>id</param-name><param-value>servlet2</param-value></init-param>
    </servlet>

    <servlet>
        <servlet-name>servlet3</servlet-name>
        <servlet-class>app</servlet-class>
        <init-param><param-name>id</param-name><param-value>servlet3</param-value></init-param>
    </servlet>

    <servlet>
        <servlet-name>servlet4</servlet-name>
        <servlet-class>app</servlet-class>
        <init-param><param-name>id</param-name><param-value>servlet4</param-value></init-param>
    </servlet>

    <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>app</servlet-class>
        <init-param><param-name>id</param-name><param-value>default</param-value></init-param>
    </servlet>

    <servlet-mapping>
        <servlet-name>servlet0</servlet-name>
        <url-pattern>/foo/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>servlet1</servlet-name>
        <url-pattern>/foo/bar/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>servlet2</servlet-name>
        <url-pattern>/baz/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>servlet3</servlet-name>
        <url-pattern>/catalog</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>servlet4</servlet-name>
        <url-pattern>*.bop</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>default</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

</web-app>