中文乱码....
System.out.println("处理get请求......"); PrintWriter out = response.getWriter(); response.setContentType("text/html;charset=utf-8"); request.setCharacterEncoding("utf-8"); out.println("
你好,servlet
");
不明白为何中文乱码?
System.out.println("处理get请求......"); PrintWriter out = response.getWriter(); response.setContentType("text/html;charset=utf-8"); request.setCharacterEncoding("utf-8"); out.println("
");
不明白为何中文乱码?
2015-10-22
举报