http://blog.sina.com.cn/s/blog_7211d8c80100y7gb.html
一,设置页面编码 <% @page language="java" pageEncoding="GBK" contentType="text/html; charset=GBK" %> 二,将form表单提交方式变为post方式,即添加method="post" 三,在action类中,添加2句话 Request().setCharacterEncoding("GBK"); Response().setCharacterEncoding("GBK"); 四,将接收到的数据转码 dbld = new String(faceContext.getParameter("dbld"+i).getBytes("ISO-8859-1"),"gbk"); zbry = new String(faceContext.getParameter("zbry"+i).getBytes("ISO-8859-1"),"gbk");