直接改配置文件吧,character-encoding='gb2312'

解决方案 »

  1.   

    看看这张帖子:
    http://expert.csdn.net/Expert/topic/1085/1085595.xml?temp=1.125515E-03
      

  2.   

    <@page chareset="gb2312">
    转换成中文用getBytes("iso8859-1");
      

  3.   

    在需要存储数据的程序中加入:  request.setCharacterEncoding("GB2312");  //好象是在jdk的某个版本以上才能使就可以了。
    或者就加入
    String var_name=new String(request.getParameter("app_address").getBytes("8859_1"), "GB2312");
      

  4.   

    每个Jsp页面前加:
    <%@ page contentType="text/html;charset=GB2312"%>
    就可以解决显示中文的问题,关于存储就照楼上的
      

  5.   

    String var_name=new String(request.getParameter("app_address").getBytes("8859_1"), "GB2312");
    <%@ page contentType="text/html;charset=GB2312"%>