标签:mvc XML ram app rgba framework map cte encoding
在 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>
springmvc 梳理4--内置统一的(国际化)字符集处理
标签:mvc XML ram app rgba framework map cte encoding
原文地址:https://www.cnblogs.com/Master-Sun/p/14327689.html