window.location.href=encodeURI("<%=path%>/XXX.XXX?name=中文");
然后在后台通过new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8")解码
window.location.href=encodeURI("<%=path%>/XXX.XXX?name=中文");
然后在后台通过new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8")解码