summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-01-22 05:16:24 +0000
committerAchim Gottinger <achim@gentoo.org>2001-01-22 05:16:24 +0000
commit734a88e9a92fa02876e2757d181203b61d9ca451 (patch)
treec5cf3dfd82159e684dd89cb2d973716cc774ff6a /net-www/cocoon
parent*** empty log message *** (diff)
downloadhistorical-734a88e9a92fa02876e2757d181203b61d9ca451.tar.gz
historical-734a88e9a92fa02876e2757d181203b61d9ca451.tar.bz2
historical-734a88e9a92fa02876e2757d181203b61d9ca451.zip
*** empty log message ***
Diffstat (limited to 'net-www/cocoon')
-rw-r--r--net-www/cocoon/files/web.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-www/cocoon/files/web.xml b/net-www/cocoon/files/web.xml
new file mode 100644
index 000000000000..6c7775771d96
--- /dev/null
+++ b/net-www/cocoon/files/web.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+ This is the web-app configurations that allow Cocoon to work under
+ Apache Tomcat. Please, follow the installation section of the
+ documentation for more information about installing Cocoon on Tomcat
+-->
+
+<!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>org.apache.cocoon.Cocoon</servlet-name>
+ <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
+ <init-param>
+ <param-name>properties</param-name>
+ <param-value>WEB-INF/cocoon.properties</param-value>
+ </init-param>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
+ <url-pattern>*.xml</url-pattern>
+ </servlet-mapping>
+</web-app>