struts2中form提交到action中的中文亂碼問題解決辦法
方法一:在struts2-core-2.1.8.1.jar包中路徑為struts2-core-2.1.8.1\org\apache \struts2
有一個default.properties 文件,

把struts.i18n.encoding=UTF-8改為:
struts.i18n.encoding=GBK
方法二:
在struts.xml文件內添加常:<constant name="struts.i18n.encoding" value="GBK"/>
