标签:col pattern encoding 解决 ping pat code -- utf-8
在web.xml中配置以下内容:
<!--配置MVC的乱码过滤--> <filter> <filter-name>encoding</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>encoding</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
标签:col pattern encoding 解决 ping pat code -- utf-8
原文地址:https://www.cnblogs.com/zhangzhixi/p/14277266.html