你在page 属性中要设置字体!!!

解决方案 »

  1.   

    HTML 中
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    JSP中
    <%@ page contentType="text/html; charset=gb2312" language="java" %>
    可是不行啊 读出来的还是 ? ??? 好多个问号
      

  2.   

    我也配置过filter 对HTTP请求中的参数进行同意编码
      

  3.   

    页面显示一般用GBK,所有的jsp页面中写 <%@page contentType="text/html;charset=GBK"%>
      

  4.   

    在find_exam.jsp用下边的形式接收
      <%String g=request.getParameter("key");
      out.print(g);
      %>
      

  5.   

    houxp666(快乐至上) 
    key的值如果要在标签里用 不就不能这么用了吗?
      

  6.   

    你在页面里面加上<%request.setCharacterEncoding("GBK");%>试试
      

  7.   

    <%request.setCharacterEncoding("GBK");%> 这句话加过了! 不行的啊! 表达式的传值用的什么类和方法啊?
      

  8.   

    用这段代码
    public String getStr(String str)
       {
           try
       {
          String temp_p=str;
      byte[] temp_t=temp_p.getBytes("ISO8859-1");
      String temp=new String(temp_t);
      return temp;
       }
       catch(Exception e)
       {}
       return "null";
    }
    做个自定义标签用,要是???是转多了,要是乱码就是没转