ssh2框架在处理中文乱码的时候比较简单,只要在struts.xml中配置就可以了:
<constant name="struts.i18n.encoding" value="gbk"></constant>
或者是在struts.properties加上struts.i18n.encoding=GBK
在web.xml中配置那么多,挺繁杂的,好像也没有起到作用(我配置的时候)!
ssh2框架在处理中文乱码的时候比较简单,只要在struts.xml中配置就可以了:
<constant name="struts.i18n.encoding" value="gbk"></constant>
或者是在struts.properties加上struts.i18n.encoding=GBK
在web.xml中配置那么多,挺繁杂的,好像也没有起到作用(我配置的时候)!