表单Post和Get方法乱码处理
摘要:
post方法: 只需要在接受端将request的接收字符改为发送端发送的字符(post 为UTF-8) request.setCharacterEncoding("UTF-8"); get方法: 需要在服务器的配置文件将URIEncoding="UTF-8"中的字符改为,GBK不可以; URIEnc 阅读全文
posted @ 2020-03-22 21:47 只是很想你 阅读(162) 评论(0) 推荐(0) 编辑