解决Spring MVC 和 freemarker的中文问题

Spring MVC 和 freemarker的中文问题 在viewResolver中加一个contentType属性就能够了! 若是是XML格式配置为: <property name="contentType"><value>text/xml; charset=gb2312</value></property> HTML格式的配置为: <property name="contentType"><
相关文章
相关标签/搜索