摘要: 1 protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 2 String filename = request.getParameter("filename"); 3 System.out.println(filen 阅读全文
posted @ 2019-10-20 14:56 AyeeX 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 一.response有两种输出流(编码:UTF-8): 1.字节流:response.getOutputStream().write(date.getBytes("UTF-8")); 2.字符流:response.getWrite().write();需要设置response.setCharacte 阅读全文
posted @ 2019-10-20 01:03 AyeeX 阅读(309) 评论(0) 推荐(0) 编辑