1.设置MIME为中文<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2.设置请求响应为中文<%@ page contentType="text/html; charset=utf-8"%>
3.设置返回响应为中文request.setCharacterEncoding="utf-8"-----post
                  new String(request.getParameter("uname").getBytes("iso-8859-1"),"gb2312") -----get