posts - 119, comments - 62, trackbacks - 0, articles - 0

struts2乱码

Posted on 2008-08-22 18:50 Kevin Meng 阅读(232) 评论(0)  编辑  收藏
所有的页面用UTF-8编码,然后
在struts.xml中加
<constant name="struts.locale" value="zh_CN"></constant>
 <constant name="struts.i18n.encoding" value="UTF-8"></constant>
即可。

只有注册用户登录后才能发表评论。


网站导航: