中文乱码

在struts.xml中

指定Web应用的默认编码集,相当于调用HttpServletRequest的setCharacterEncoding方法

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

posted on 2013-12-25 17:11  凯特的宝贝世界  阅读(175)  评论(0)    收藏  举报