ActionForward execute(....){ try { response.setContentType("text/html;charset=UTF-8"); response.getWriter().write(text); } catch (IOException e) { log.error(e); } return null;}