摘要: 使用GET方式提交数据的中文乱码的解决方法: 使用URLEncoder.encode(name,"UTF-8")进行url编码: String path = "http://192.168.22.136:8080/web/servlet/LoginServlet?username="+URLEnco 阅读全文
posted @ 2016-08-25 21:06 iFat 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1.请求的URL地址不同: post:"http://192.168.13.83:8080/itheima74/servlet/LoginServlet" get:http://192.168.13.83:8080/itheima74/servlet/LoginServlet?username=ro 阅读全文
posted @ 2016-08-25 16:00 iFat 阅读(146) 评论(0) 推荐(0) 编辑