nested exception is java.lang.IllegalStateException: Cannot forward after response has been committed

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Cannot forward after response has been committed

又一次跳转,代码控制跳转,跳转了两次,加个return;

 

web.xml错误信息强制跳转页面,抛出异常

<error-page>
        <exception-type>java.lang.Throwable</exception-type>
        <location>/error/error.html</location>
</error-page>

posted @ 2013-09-06 10:09  悟寰轩-叶秋  阅读(2842)  评论(0编辑  收藏  举报