摘要:
解决方法如下:1.在JS里对中文参数进行两次转码var login_name = document.getElementById("loginname").value; login_name = encodeURI(login_name); login_name = encodeURI(login_name); 2.在服务器端对参数进行解码String loginName = ParamUtil.getString(request, "login_name"); loginName = java.net.URLDecoder.decode(loginNa 阅读全文