http://www.javayou.com/showlog.jspe?cat_id=3&log_id=394

解决方案 »

  1.   

    Sorry, I did not get the answer in this page.Thanks also.
      

  2.   

    Try it.<%@ page contentType="text/html;charset=GBK"%>
    in your JSP pages.
    <connection-url>
    <![CDATA[
    jdbc:mysql://localhost:3306/jbossds?             useUnicode=true&characterEncoding=GBK
    ]]>
    </connection-url>
    in the mysql-ds.xml in the jboss
      

  3.   

    你数据库自身的连接方式采用的字符集不是UTF-8
    操作系统采用的字符集一般不是UTF-8,因此要使用过滤器,将所有的request转换成UTF-8