Setting encoding filter and JSP page encoding in web.xml could fix encoding issue.

servlet filter.

JSP page encoding. Without this, you need put <%@ page language=“java” contentType=“text/html; charset=UTF-8” pageEncoding=“UTF-8”%> in every JSP pages.

    <jsp-config>
        <jsp-property-group>
            <url-pattern>*.jsp</url-pattern>
            <page-encoding>UTF-8</page-encoding>
        </jsp-property-group>
    </jsp-config>