struts2 异常页面乱码问题

在 struts.xml 或者 struts.properties 文件里添加 

<constant name="struts.locale" value="zh_CN"/>
<constant name="struts.devMode" value="true"/>

异常页面的中文就能正常显示了

posted on 2014-08-05 14:06  xiong2012  阅读(546)  评论(0)    收藏  举报