摘要: 1.ajax--URL中的参数含中文,后台接受的参数出现乱码 解决方法: 第一步:在javascript中,对url进行两次编码 url = "http://localhost:8080/MyData/SearchTopicServlet?topic="+topic; url=encodeURI(u 阅读全文
posted @ 2015-08-24 22:30 岁月静好--lyr 阅读(775) 评论(0) 推荐(0) 编辑