Moved WAR making to an explicit function.
[jsvc.git] / etc / web.xml.template
diff --git a/etc/web.xml.template b/etc/web.xml.template
new file mode 100644 (file)
index 0000000..487cdd8
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="${jsvc.j2ee.webxml.coding}"?>
+
+<!DOCTYPE web-app
+          PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+          "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+
+  <display-name>${jsvc.j2ee.appname}</display-name>
+
+  <servlet>
+    <servlet-name>jsvc</servlet-name>
+    <servlet-class>dolda.jsvc.j2ee.Servlet</servlet-class>
+    <load-on-startup />
+  </servlet>
+
+  <servlet-mapping>
+    <servlet-name>jsvc</servlet-name>
+    <url-pattern>/*</url-pattern>
+  </servlet-mapping>
+
+</web-app>