cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r475383 - /cocoon/trunk/tools/archetypes/cocoon-22-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
Date Wed, 15 Nov 2006 20:03:41 GMT
Author: cziegeler
Date: Wed Nov 15 12:03:37 2006
New Revision: 475383

URL: http://svn.apache.org/viewvc?view=rev&rev=475383
Log:
Clean up web.xml

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?view=diff&rev=475383&r1=475382&r2=475383
==============================================================================
--- 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
Wed Nov 15 12:03:37 2006
@@ -20,6 +20,7 @@
     "http://java.sun.com/dtd/web-app_2_3.dtd">
 
 <web-app>
+  <!-- This listener sets up the spring container on startup of the web application. -->
   <listener>
     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
   </listener>
@@ -30,19 +31,6 @@
     <description>Cocoon servlet - ${artifactId}</description>
 
     <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
-         classloading, remove the "classloader-class" parameter. -->
-    <init-param>
-      <param-name>classloader-class</param-name>
-      <param-value>org.apache.cocoon.servlet.ParanoidClassLoader</param-value>
-    </init-param>
-
-    <init-param>
-      <param-name>container-encoding</param-name>
-      <param-value>ISO-8859-1</param-value>
-    </init-param>
 
     <load-on-startup>1</load-on-startup>
   </servlet>



Mime
View raw message