struts2 同名获取,后台中文乱码~!!!
struts2吧
全部回复
仅看楼主
level 1
胜⑦灵银
楼主
怎么回事啊,一直搞不定啊,大牛帮帮忙啊
2011年09月04日 04点09分
1
level 1
VIP149792
<contstant name="struts.il8n.encoding" value="utf-8" />
写在你的struts.xml配置里试试
2011年09月20日 14点09分
4
level 1
icandoit___
如果你页面设置的是GBK 你需要在struts.xml 里面 设置一个属性为GBK 具体不记得了 tomat里面也需设置。具体自己查
2011年10月28日 08点10分
5
1