xref: /unit/test/java/forward/web.xml (revision 977:4f9268f27b57)
1<?xml version="1.0" encoding="utf-8" ?>
2
3<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
6    version="3.0">
7
8    <servlet>
9        <servlet-name>fwd</servlet-name>
10        <servlet-class>app</servlet-class>
11        <init-param><param-name>id</param-name><param-value>fwd</param-value></init-param>
12    </servlet>
13
14    <servlet-mapping>
15        <servlet-name>fwd</servlet-name>
16        <url-pattern>/fwd/*</url-pattern>
17    </servlet-mapping>
18
19
20    <servlet>
21        <servlet-name>data</servlet-name>
22        <servlet-class>app</servlet-class>
23        <init-param><param-name>id</param-name><param-value>data</param-value></init-param>
24    </servlet>
25
26    <servlet-mapping>
27        <servlet-name>data</servlet-name>
28        <url-pattern>/data/*</url-pattern>
29    </servlet-mapping>
30
31    <servlet-mapping>
32        <servlet-name>data</servlet-name>
33        <url-pattern>/WEB-INF/index.html</url-pattern>
34        <url-pattern>/index.html</url-pattern>
35    </servlet-mapping>
36
37</web-app>
38
39