From dceb10a706981239210440691e5afdbd7af9ff0c Mon Sep 17 00:00:00 2001 From: liouxiao Date: Wed, 27 May 2015 18:03:49 +0800 Subject: [PATCH] encodingFilter MUST be the first one to properly work. --- src/main/webapp/WEB-INF/web.xml | 38 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 360e3698a..193d82bd8 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -69,6 +69,25 @@ http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" /dandelion-assets/* + + + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + forceEncoding + true + + + + + encodingFilter + /* + + dandelionFilter @@ -92,25 +111,6 @@ see here: http://static.springsource.org/spring/docs/current/spring-framework-re petclinic - - - encodingFilter - org.springframework.web.filter.CharacterEncodingFilter - - encoding - UTF-8 - - - forceEncoding - true - - - - - encodingFilter - /* - - datatables