You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2009/02/18 12:50:28 UTC

svn commit: r745481 - /camel/trunk/components/camel-web/src/main/webapp/WEB-INF/web.xml

Author: jstrachan
Date: Wed Feb 18 11:50:28 2009
New Revision: 745481

URL: http://svn.apache.org/viewvc?rev=745481&view=rev
Log:
fixed the sitemesh ordering of filters

Modified:
    camel/trunk/components/camel-web/src/main/webapp/WEB-INF/web.xml

Modified: camel/trunk/components/camel-web/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/WEB-INF/web.xml?rev=745481&r1=745480&r2=745481&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/WEB-INF/web.xml (original)
+++ camel/trunk/components/camel-web/src/main/webapp/WEB-INF/web.xml Wed Feb 18 11:50:28 2009
@@ -31,6 +31,16 @@
   </listener>
 
   <filter>
+    <filter-name>sitemesh</filter-name>
+    <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
+  </filter>
+
+  <filter-mapping>
+    <filter-name>sitemesh</filter-name>
+    <url-pattern>/*</url-pattern>
+  </filter-mapping>
+
+  <filter>
     <filter-name>Jersey Filter</filter-name>
     <filter-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</filter-class>
     <init-param>
@@ -54,19 +64,9 @@
       <param-value>/(images|css|js)/.*</param-value>
     </init-param>
   </filter>
-  
-  <filter-mapping>
-    <filter-name>Jersey Filter</filter-name>
-    <url-pattern>/*</url-pattern>
-  </filter-mapping>
-
-  <filter>
-    <filter-name>sitemesh</filter-name>
-    <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
-  </filter>
 
   <filter-mapping>
-    <filter-name>sitemesh</filter-name>
+    <filter-name>Jersey Filter</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>