springmvc 监听器getWriter() has already been called for this response问题
springmvc 监听器getWriter() has already been called for this response问题
在监听器中,如果return true,就不要使用
response.getWriter().write("<h1 align='center'>no permission</h1>");
方法;
这样就会产生两次getWriter()调用的问题;