/** * ajax responseTEXT write; * @param request * @param response * @param str */ public static void response(HttpServletRequest request,HttpServletResponse response,String str) { response.setContentType("html/text;charset=utf-8"); try { response.getWriter().print(str); } catch (IOException e) { e.printStackTrace(); } }