人本善良

导航

2019年9月26日 #

Js 参数乱码

摘要: 在前台,对URL的中文参数执行两次encodeURI: 序列化 var param = encodeURI(encodeURI("中文")); 后台取数据时使用 URLDecoder进行解码: String param = (String)request.getParameter("param"); 阅读全文

posted @ 2019-09-26 14:28 简简单单2018 阅读(1163) 评论(0) 推荐(0) 编辑