From cb6bd875dedbd7e8e4d666fd211a623c1b04f72c Mon Sep 17 00:00:00 2001 From: michaelisvy Date: Fri, 29 May 2015 15:20:10 +0800 Subject: [PATCH] Putting encoding filter first per #80 --- 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..2bb1d5f84 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -68,6 +68,25 @@ http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" dandelionServlet /dandelion-assets/* + + + + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + forceEncoding + true + + + + + encodingFilter + /* + @@ -91,25 +110,6 @@ see here: http://static.springsource.org/spring/docs/current/spring-framework-re httpMethodFilter petclinic - - - - encodingFilter - org.springframework.web.filter.CharacterEncodingFilter - - encoding - UTF-8 - - - forceEncoding - true - - - - - encodingFilter - /* -