You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2008/04/15 09:45:49 UTC
svn commit: r648148 -
/cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml
Author: reinhard
Date: Tue Apr 15 00:45:47 2008
New Revision: 648148
URL: http://svn.apache.org/viewvc?rev=648148&view=rev
Log:
. enable the BlockDeploymentServletContextListener in web.xml
Modified:
cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml
Modified: cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml?rev=648148&r1=648147&r2=648148&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml Tue Apr 15 00:45:47 2008
@@ -40,6 +40,30 @@
</context-param>
-->
+ <!-- Servlet Context Listener ======================================= -->
+
+ <listener>
+ <description>Declare a context listener that installs all blocks.</description>
+ <listener-class>org.apache.cocoon.blockdeployment.BlockDeploymentServletContextListener</listener-class>
+ </listener>
+
+ <!--
+ - Declare Spring context listener which sets up the Spring Application Context
+ - containing all Cocoon components (and user defined beans as well).
+ -->
+ <listener>
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+ </listener>
+
+ <!--
+ - Declare Spring request listener which sets up the required RequestAttributes
+ - to support Springs and Cocoon custom bean scopes like the request scope or the
+ - session scope.
+ -->
+ <listener>
+ <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
+ </listener>
+
<!-- Servlet Filters ================================================ -->
<!--
@@ -83,25 +107,6 @@
<servlet-name>Cocoon</servlet-name>
</filter-mapping>
-->
-
- <!-- Servlet Context Listener ======================================= -->
-
- <!--
- - Declare Spring context listener which sets up the Spring Application Context
- - containing all Cocoon components (and user defined beans as well).
- -->
- <listener>
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
-
- <!--
- - Declare Spring request listener which sets up the required RequestAttributes
- - to support Springs and Cocoon custom bean scopes like the request scope or the
- - session scope.
- -->
- <listener>
- <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
- </listener>
<!-- Servlet Configuration ========================================== -->