Loading

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()调用的问题;

 

posted @ 2017-04-06 16:14  stono  阅读(510)  评论(0编辑  收藏  举报