加了MyFilter拦截器 成功解决了乱码问题 <filter> <filter-name>Filter</filter-name> <filter-class>com.test.MyFilter</filter-class> <init-param> <param-name>Encoding</param-name> <param-value>UTF-8</param-value> </init-param> </filter> <filter-mapping> <filter-name>Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> 2012-11-23
|