continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r739712 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml
Date Sun, 01 Feb 2009 08:35:48 GMT
Author: olamy
Date: Sun Feb  1 08:35:48 2009
New Revision: 739712

URL: http://svn.apache.org/viewvc?rev=739712&view=rev
Log:
[CONTINUUM-2053] Problem with french characters


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

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml?rev=739712&r1=739711&r2=739712&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/web.xml Sun Feb  1 08:35:48 2009
@@ -48,7 +48,25 @@
     <filter-name>struts</filter-name>
     <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
   </filter>
+  
+  <filter>
+    <filter-name>encodingFilter</filter-name>
+    <filter-class> org.springframework.web.filter.CharacterEncodingFilter</filter-class>
+    <init-param>
+      <param-name>encoding</param-name>
+      <param-value>UTF-8</param-value>
+    </init-param>
+    <init-param>
+      <param-name>forceEncoding</param-name>
+      <param-value>true</param-value>
+    </init-param>
+  </filter>  
 
+  
+  <filter-mapping>
+    <filter-name>encodingFilter</filter-name>
+    <url-pattern>/*</url-pattern>
+  </filter-mapping>  
   <filter-mapping>
     <filter-name>struts-cleanup</filter-name>
     <url-pattern>/*</url-pattern>
@@ -61,6 +79,7 @@
     <filter-name>struts</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
+  
 
   <listener>
     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>



Mime
View raw message