摘要: 1.js文件中使用encodeURI()方法。 var url = "<%=bathPath%>/department/list?keyword=" + encodeURI(encodeURI(keyword)); 2.在后台中对传递的参数进行URLDecoder解码 String keyword= 阅读全文
posted @ 2020-10-26 10:29 HandsomeGuy 阅读(1625) 评论(0) 推荐(0)