关于jsp页面通过url向后台传值的编码转换
jsp页面:
url:'${ctx}/packagebagFile/allFileIndexyear='+year+'&title='+encodeURI(encodeURI(parm_proname))
Java后台:
packageBag.setTitle(java.net.URLDecoder.decode(title,"UTF-8"));
本文来自博客园,作者:弓长九日东,转载请注明原文链接:https://www.cnblogs.com/zxd-bk/p/8867506.html