xml代码 解决eclipse乱码问题
程序员文章站
2024-01-11 18:38:16
直接插入到工程xml文件中 ......
<filter> <filter-name>encodingfilter</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>encodingfilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
直接插入到工程xml文件中
下一篇: 【PHP入门】一、环境搭建