导致问题的可能原因: 1、过滤器中设置了: response.setContentType("text/html;charset=utf-8"); 2、在JSP中<!DOCTYPE html>标签使用错误 DOCTYPE html的作用