shopizer-memoizeit
Changes
sm-shop/src/main/webapp/WEB-INF/web.xml 18(+17 -1)
Details
sm-shop/src/main/webapp/WEB-INF/web.xml 18(+17 -1)
diff --git a/sm-shop/src/main/webapp/WEB-INF/web.xml b/sm-shop/src/main/webapp/WEB-INF/web.xml
index 5a0d1b0..fce0aa4 100755
--- a/sm-shop/src/main/webapp/WEB-INF/web.xml
+++ b/sm-shop/src/main/webapp/WEB-INF/web.xml
@@ -47,6 +47,22 @@
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
+
+<!--Start UTF-8 Encoding needed.-->
+ <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>
+ </filter>
+ <filter-mapping>
+ <filter-name>encodingFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+<!-- End -->
+
<welcome-file-list>
<welcome-file></welcome-file>
</welcome-file-list>
@@ -57,4 +73,4 @@
-</web-app>
\ No newline at end of file
+</web-app>