标签:app out prot redirect tor style web.xml protocol tom
在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> </filter> <filter-mapping> <filter-name>CharacterEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
<Connector URIEncoding="utf-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
SpringMVC如何解决POST请求中文乱码问题,GET的又如何处理呢?
标签:app out prot redirect tor style web.xml protocol tom
原文地址:http://www.cnblogs.com/yaoyiyao/p/7199255.html