You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by gh...@apache.org on 2013/04/05 17:31:55 UTC

svn commit: r1465010 - in /roller/trunk: pom.xml weblogger-webapp/src/main/webapp/WEB-INF/web.xml

Author: ghuber
Date: Fri Apr  5 15:31:55 2013
New Revision: 1465010

URL: http://svn.apache.org/r1465010
Log:
Struts 2.3.8 upgrade (big performance improvement).

Modified:
    roller/trunk/pom.xml
    roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/web.xml

Modified: roller/trunk/pom.xml
URL: http://svn.apache.org/viewvc/roller/trunk/pom.xml?rev=1465010&r1=1465009&r2=1465010&view=diff
==============================================================================
--- roller/trunk/pom.xml (original)
+++ roller/trunk/pom.xml Fri Apr  5 15:31:55 2013
@@ -231,21 +231,21 @@
             <dependency>
                 <groupId>org.apache.struts</groupId>
                 <artifactId>struts2-core</artifactId>
-                <version>2.2.3.1</version>
+                <version>2.3.8</version>
                 <scope>compile</scope>
             </dependency>
 
             <dependency>
                 <groupId>org.apache.struts</groupId>
                 <artifactId>struts2-tiles-plugin</artifactId>
-                <version>2.2.3.1</version>
+                <version>2.3.8</version>
                 <scope>compile</scope>
             </dependency>
 
             <dependency>
                 <groupId>org.apache.struts</groupId>
                 <artifactId>struts2-spring-plugin</artifactId>
-                <version>2.2.3.1</version>
+                <version>2.3.8</version>
             </dependency>
 
             <!-- <dependency>

Modified: roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/web.xml?rev=1465010&r1=1465009&r2=1465010&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/web.xml Fri Apr  5 15:31:55 2013
@@ -13,14 +13,7 @@
 
     <filter>
         <filter-name>struts2</filter-name>
-        <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
-    </filter>
-
-    <!-- This is really strange, but for some reason it's needed to prevent
-         some problems with the file uploads not working intermittently -->
-    <filter>
-        <filter-name>struts2-cleanup</filter-name>
-        <filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
+        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
     </filter>
 
     <filter>
@@ -196,13 +189,6 @@
 
     <!-- Struts2 -->
     <filter-mapping>
-        <filter-name>struts2-cleanup</filter-name>
-        <url-pattern>*.rol</url-pattern>
-        <dispatcher>REQUEST</dispatcher>
-        <dispatcher>FORWARD</dispatcher>
-    </filter-mapping>
-
-    <filter-mapping>
         <filter-name>struts2</filter-name>
         <url-pattern>*.rol</url-pattern>
         <dispatcher>REQUEST</dispatcher>