1.写入数据库
String xxx=request.getParameter("xxx");
String xxxxx=new String(xxx.getBytes("ISO8859_1"),"GB2312");
2.从数据库中取出显示页面时
rs //记录
String xxx=rs.getString(x); // x------索引
String xxxxx=new String(xxx.getBytes("GB2312"),"ISO8859_1");