Use tomcats' SetCharacterEncodingFilter
</filter-mapping>
<filter>
- <filter-name>CharsetFilter</filter-name>
- <filter-class>org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter</filter-class>
+ <filter-name>setCharacterEncodingFilter</filter-name>
+ <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
<init-param>
- <param-name>requestEncoding</param-name>
+ <param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
- <filter-name>CharsetFilter</filter-name>
+ <filter-name>setCharacterEncodingFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
