jsp传递和接收参数中文乱码 使用URLEncoder或者URLDecoder转码或者String类进行转码: str=new String(sname.getBytes("iso-8859-1"),"utf-8");