传递之前先编码 username=URLEncoder.encode("参数","utf-8");
接受参数后解码 URLDecoder.decode(new String(request.getParameter("username").getBytes("ISO8859-1"),"utf-8"),"utf-8")
传递之前先编码 username=URLEncoder.encode("参数","utf-8");
接受参数后解码 URLDecoder.decode(new String(request.getParameter("username").getBytes("ISO8859-1"),"utf-8"),"utf-8")