summaryrefslogtreecommitdiff
path: root/examples/j2ee/web.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/j2ee/web.xml')
-rw-r--r--examples/j2ee/web.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/j2ee/web.xml b/examples/j2ee/web.xml
new file mode 100644
index 0000000..52a2ddb
--- /dev/null
+++ b/examples/j2ee/web.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
+<web-app>
+ <servlet>
+ <servlet-name>TestServlet</servlet-name>
+ <servlet-class>TestServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>TestServlet</servlet-name>
+ <url-pattern>/TestServlet</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>TestServlet.html</welcome-file>
+ </welcome-file-list>
+</web-app>
+