在web.xml文件里配置请求过滤器,编码格式设为UTF 8 - 13337159127/Note GitHub Wiki
<filter>
<filter-name>encode</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>encode</filter-name>
<url-pattern>*.kexin</url-pattern>
</filter-mapping>
<servlet>