方法可能有好几种,自己mark一下自己用的
前台
window.location='/BillProductPreview.do?actiontype=AJAXOPENWORDFUND&file='+encodeURI(encodeURI(v_file));
后台
String filepath=(String) request.getParameter("file"); filepath = URLDecoder.decode(filepath,"UTF-8");
方法可能有好几种,自己mark一下自己用的 前台 window.location='/BillProductPreview.do?actiontype=AJAXOPENWORDFUND&file='+encodeURI(encodeURI(v_file)); 后台 String filepath=(String) request.getParameter("file"); filepath = URLDecoder.decode(filepath,"UTF-8"); (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |