summaryrefslogtreecommitdiffhomepage
path: root/test/java/welcome_files/web.xml
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@gmail.com>2019-02-28 18:02:42 +0300
committerMax Romanov <max.romanov@gmail.com>2019-02-28 18:02:42 +0300
commit5bfdebb9e4161a689113d73775498949a09d7fb5 (patch)
treefcb69169e3da983db0eb1f48d2dccc2ac2ff867b /test/java/welcome_files/web.xml
parentec7319d32c9c41597a99a9422ff324c97a92bb21 (diff)
downloadunit-5bfdebb9e4161a689113d73775498949a09d7fb5.tar.gz
unit-5bfdebb9e4161a689113d73775498949a09d7fb5.tar.bz2
Introducing Java Servlet Container beta.
Diffstat (limited to 'test/java/welcome_files/web.xml')
-rw-r--r--test/java/welcome_files/web.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/java/welcome_files/web.xml b/test/java/welcome_files/web.xml
new file mode 100644
index 00000000..6bbc7c8e
--- /dev/null
+++ b/test/java/welcome_files/web.xml
@@ -0,0 +1,27 @@
+<?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">
+
+ <welcome-file-list>
+ <welcome-file>index.txt</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+
+ <servlet>
+ <servlet-name>app</servlet-name>
+ <servlet-class>app</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>app</servlet-name>
+ <url-pattern>/dir3/index.txt</url-pattern>
+ <url-pattern>/dir4/index.txt</url-pattern>
+ <url-pattern>/dir5/index.html</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+