struts2在action中获取页面超链接中文参数乱码

struts2在action中获取页面超链接中文参数乱码,该如何解决,跪求各位大神

超链接中文参数乱码,你先确认一下参数的编码,一般可能是 UTF-8 的。、
然后再确认一下显示的函数是否支持直接显示 UTF-8,还是需要转成 ASCII 或者 Unicode 才能显示。

 在struts 配置文件里加上:
 <struts>
  <constant name="struts.locale" value="zh_CN"></constant>
   <constant name="struts.i18n.encoding" value="GBK"></constant>
</struts>试试