标签:
在web.xml中配置如下代码
<filter> <filter-name>characterEncodingFilter</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> <init-param> <param-name>forceEncoding</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>characterEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
真应了学长的那句话了,百度屁也搜不出来
easyui的datagrid form(表单)提交到后台转对象的时候中文出现乱码
标签:
原文地址:http://www.cnblogs.com/liuxiaoke/p/4430209.html