随笔分类 -  Java web

摘要:contenttype:text/plain 无格式编码 String postStr = request.getInputStream(); 阅读全文
posted @ 2017-07-31 14:42 wangguoning 阅读(471) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/lfsf802/article/details/7232834 http://blog.csdn.net/hu_zhiting/article/details/52088245 阅读全文
posted @ 2017-07-16 23:28 wangguoning 阅读(1158) 评论(0) 推荐(0)
摘要:因为request请求都是ISO-8859-1,而jsp页面是采用UTF-8编码,所以当传递的参数有中文时,页面会出现乱码,但是可以将取到的数据通过String的构造函数使用指定的编码类型重新构造一个String对象解决乱码问题 阅读全文
posted @ 2016-12-09 21:02 wangguoning 阅读(8949) 评论(0) 推荐(0)
摘要:Insert title here Insert title here 阅读全文
posted @ 2016-12-09 20:35 wangguoning 阅读(290) 评论(0) 推荐(0)
摘要:Insert title here sds Insert title here 阅读全文
posted @ 2016-12-09 20:32 wangguoning 阅读(2678) 评论(0) 推荐(0)