`
coolpep
  • 浏览: 77868 次
社区版块
存档分类
最新评论

Struts2中文乱码解决办法

 
阅读更多

在struts.xml <struts>中

加入

<constant name="struts.i18n.encoding" value="GBK"></constant>

就可以了

因为struts默认为utf-8编码

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics