Cannot forward a response that is already committed

页面局域网没有问题,远程登录就有这个错误

2017-4-7 15:11:49 com.jfinal.core.ActionHandler error

严重: /login

com.jfinal.render.RenderException: java.lang.IllegalStateException: Cannot forward a response that is already committed

        at com.jfinal.render.JspRender.render(JspRender.java:69)

        at com.jfinal.core.ActionHandler.handle(ActionHandler.java:99)

        at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:74)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused by: java.lang.IllegalStateException: Cannot forward a response that is already committed

        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)

        at com.jfinal.render.JspRender.render(JspRender.java:67)

        ... 12 more


评论区

JFinal

2017-04-07 15:49

HttpSerlvetResponse 对象在某个地方已被使用并 commit 过,单步调试找到这个地方

热门反馈

扫码入社