encodeURIComponent编码后java后台的解码
同学的毕业设计出现JavaScript用encodeURIComponentt编码后无法再后台解码的问题。原来他是这样写的:window.self.location="searchbytext.action?searchtext="+encodeURIComponent(seartext);java处理的代码为:searchtext=java.net.URLDecoder.decode(searc...
原创
2018-02-08 14:22:03 ·
1284 阅读 ·
0 评论