Spring集成FreeMarker中文出现乱码的解决办法(非contentType)
项目中用到freemarker和spring集成后中文出现乱码
上网搜大部分是说在viewResolver中加入<property name="contentType" value="text/html;charset=gb2312"></property>
?
但我发现对于我的项目不起做用
?
又goole一下 剔除掉上面的搜索结果,发现还有一种解决方案
<bean id="freemarkerConfigurer"
??? ??? value="text/html;charset=gb2312"></property>
还是要加的