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
commite142fbc94c7e70d1639f0b671c3d5ea823bfe601 (patch)
tree42e280c522740db96a81132211ab4fab1b5d99f7 /net-www/cocoon
parent*** empty log message *** (diff)
downloadgentoo-2-e142fbc94c7e70d1639f0b671c3d5ea823bfe601.tar.gz
gentoo-2-e142fbc94c7e70d1639f0b671c3d5ea823bfe601.tar.bz2
gentoo-2-e142fbc94c7e70d1639f0b671c3d5ea823bfe601.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>