就是配置一个常量 不过在struts中 2.1.7以前这个配置是个bug,关于常量的配置可以去查文档struts-default.properties<constant name="struts.i18n.encoding" value="GBK" />