xref: /unit/test/java/welcome_files/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    <welcome-file-list>
9        <welcome-file>index.txt</welcome-file>
10        <welcome-file>default.jsp</welcome-file>
11        <welcome-file>index.html</welcome-file>
12    </welcome-file-list>
13
14    <servlet>
15        <servlet-name>app</servlet-name>
16        <servlet-class>app</servlet-class>
17    </servlet>
18
19    <servlet-mapping>
20        <servlet-name>app</servlet-name>
21        <url-pattern>/dir3/index.txt</url-pattern>
22        <url-pattern>/dir4/index.txt</url-pattern>
23        <url-pattern>/dir5/index.html</url-pattern>
24    </servlet-mapping>
25
26</web-app>
27
28