在jsp文件顶部加入:<%@ page contentType="text/html;charset=gb2312"%>试试

解决方案 »

  1.   

    http://expert.csdn.net/Expert/topic/2302/2302194.xml?temp=.8732263
      

  2.   

    使用native2ascii.exe进行编译ApplicationResources_ZH.properties
    native2ascii -encoding gb2312 c:\resources\ApplicationResources_ZH_old.properties(需要转换的文件) c:\resources\ApplicationResources_ZH.properties(生成的文件)
      

  3.   

    用jdk的native2ascii方法那struts配置文件encoding成GB2312的
    比如,在DOS下进入JDK目录,将配置文件(比如1.properties)拷到目录下
    输入
    native2ascii -encoding GB2312 1.properties 2.properties
    就ok 了