You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by lg...@apache.org on 2006/08/17 13:13:47 UTC

svn commit: r432208 - /cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml

Author: lgawron
Date: Thu Aug 17 04:13:46 2006
New Revision: 432208

URL: http://svn.apache.org/viewvc?rev=432208&view=rev
Log:
web.xml for cocoon-22-archetype-webapp is little behind recent changes

Modified:
    cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml

Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?rev=432208&r1=432207&r2=432208&view=diff
==============================================================================
--- cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml (original)
+++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml Thu Aug 17 04:13:46 2006
@@ -19,13 +19,16 @@
     "http://java.sun.com/dtd/web-app_2_3.dtd">
 
 <web-app>
+  <listener>
+  	<listener-class>org.apache.cocoon.servlet.CocoonServletListener</listener-class>
+  </listener>
 
   <servlet>
     <servlet-name>Cocoon</servlet-name>
     <display-name>Cocoon</display-name>
     <description>Cocoon servlet - ${artifactId}</description>
 
-    <servlet-class>org.apache.cocoon.servlet.CocoonServlet</servlet-class>
+    <servlet-class>org.apache.cocoon.servlet.SitemapServlet</servlet-class>
     <!-- If you don't want to use the ParanoidClassLoader, that reverses
          the classloading hierarchy and loads the jars and classes of the
          web application _first_, and want to rely on the normal web application
@@ -45,7 +48,7 @@
 
   <servlet-mapping>
     <servlet-name>Cocoon</servlet-name>
-    <url-pattern>/</url-pattern>
+    <url-pattern>/*</url-pattern>
   </servlet-mapping>
 
 </web-app>