在struts.xml中
指定Web应用的默认编码集,相当于调用HttpServletRequest的setCharacterEncoding方法
<constant name="struts.i18n.encoding" value="GB18030" />