摘要: 1.String to InputStream String str = "String与InputStream相互转换"; InputStream in_nocode = new ByteArrayInputStream(str.getBytes()); InputStream in_withcode = new ByteArrayInputStream(str.getBy... 阅读全文
posted @ 2014-05-24 18:09 无名の辈 阅读(343) 评论(0) 推荐(0)
摘要: 今天在研究微信公众平台 自动接收发送消息的时候,在如下代码: public String processRequest(HttpServletRequest request) { String respMessage = null; try { System.err.println(inputStream2String(request.ge... 阅读全文
posted @ 2014-05-24 18:08 无名の辈 阅读(3833) 评论(0) 推荐(0)