1.在struts.xml中加入[color=red]<constant name="struts.i18n.encoding" value="UTF-8" />[/color]
2.或者 在struts2 -core-2.0.6.jar 包中路径为struts2 -core-2.0.6
\org\apache\struts2 有一个[color=red]default.properties [/color]文件把
struts.i18n.encoding = GBK 改为 struts.i18n.encoding = UTF-8
2.或者 在struts2 -core-2.0.6.jar 包中路径为struts2 -core-2.0.6
\org\apache\struts2 有一个[color=red]default.properties [/color]文件把
struts.i18n.encoding = GBK 改为 struts.i18n.encoding = UTF-8