get 传中文,可以通过下面这种方式
window.location.href=encodeURI("<%=path%>/XXX.XXX?name=中文");
然后在后台通过new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8")解码
posted on 2017-09-07 10:43 zhaojiatao 阅读(405) 评论(0) 编辑 收藏 举报
window.location.href=encodeURI("<%=path%>/XXX.XXX?name=中文");
然后在后台通过new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8")解码
posted on 2017-09-07 10:43 zhaojiatao 阅读(405) 评论(0) 编辑 收藏 举报