window.location.href=encodeURI("<%=path%>/XXX.XXX?name=中文");
然后在后台通过new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8")解码
转载于:https://www.cnblogs.com/zhaojiatao/p/7488504.html
window.location.href=encodeURI("<%=path%>/XXX.XXX?name=中文");
然后在后台通过new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8")解码
转载于:https://www.cnblogs.com/zhaojiatao/p/7488504.html