后台打印的是正常的,但是前台展示的时候中文是乱码,请大神帮帮
是不是你页面没有指定charset?
后台没加 response.setContentType("text/html; charset=utf-8");