1. opensymphony
  2. webwork

Commits

digi9ten  committed 3b42523

Issue number:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1935573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 05295fd
  • Branches master

Comments (0)

Files changed (1)

File webapps/showcase/src/webapp/WEB-INF/web.xml

View file
     <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
-    
-    
-<!-- SNIPPET START: dwr -->
+
+
+    <!-- SNIPPET START: dwr -->
 
     <servlet>
         <servlet-name>dwr</servlet-name>
         <servlet-name>dwr</servlet-name>
         <url-pattern>/dwr/*</url-pattern>
     </servlet-mapping>
-    
-<!-- END SNIPPET: dwr -->  
 
-  
+    <!-- END SNIPPET: dwr -->
+
+    <!-- SNIPPET START: example.velocity.filter.chain
+        <filter>
+            <filter-name>webwork-cleanup</filter-name>
+            <filter-class>com.opensymphony.webwork.dispatcher.ActionContextCleanUp</filter-class>
+        </filter>
+        <filter>
+            <filter-name>sitemesh</filter-name>
+            <filter-class>com.opensymphony.webwork.sitemesh.VelocityPageFilter</filter-class>
+        </filter>
+        <filter>
+            <filter-name>webwork</filter-name>
+            <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
+        </filter>
+
+        <filter-mapping>
+            <filter-name>webwork-cleanup</filter-name>
+            <url-pattern>/*</url-pattern>
+        </filter-mapping>
+        <filter-mapping>
+            <filter-name>sitemesh</filter-name>
+            <url-pattern>/*</url-pattern>
+        </filter-mapping>
+        <filter-mapping>
+            <filter-name>webwork</filter-name>
+            <url-pattern>/*</url-pattern>
+        </filter-mapping>
+    END SNIPPET: example.velocity.filter.chain -->
+
+    <!-- SNIPPET START: example.freemarker.filter.chain
+    <filter>
+        <filter-name>webwork-cleanup</filter-name>
+        <filter-class>com.opensymphony.webwork.dispatcher.ActionContextCleanUp</filter-class>
+    </filter>
+    <filter>
+        <filter-name>sitemesh</filter-name>
+        <filter-class>com.opensymphony.webwork.sitemesh.FreeMarkerPageFilter</filter-class>
+    </filter>
+    <filter>
+        <filter-name>webwork</filter-name>
+        <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
+    </filter>
+
+    <filter-mapping>
+        <filter-name>webwork-cleanup</filter-name>
+        <url-pattern>/*</url-pattern>
+    </filter-mapping>
+    <filter-mapping>
+        <filter-name>sitemesh</filter-name>
+        <url-pattern>/*</url-pattern>
+    </filter-mapping>
+    <filter-mapping>
+        <filter-name>webwork</filter-name>
+        <url-pattern>/*</url-pattern>
+    </filter-mapping>
+    END SNIPPET: example.freemarker.filter.chain -->
 
     <welcome-file-list>
         <welcome-file>index.jsp</welcome-file>