我不想用其他框架实现, 现在单指 JSP 页面 , 如何解决?

04-09-20 cute
一个页面提交数据 给本页面.. 这时,我想跳转到浏览页面..

可是问题出现: 你的页面已经提交,然后就是错误代码.

我不想用其他框架实现, 现在单指 JSP 页面 .. 如何解决?
=========


<p class="indent">[Exception in:/rygl/ryjyadd_body.jsp?] Response has already been committed java.lang.IllegalStateException: Response has already been committed at com.tongweb.webbase.facade.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:248) at com.tongweb.webbase.facade.HttpServletResponseFacade.sendRedirect(HttpServletResponseFacade.java:274) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at rygl.ryjyadd_body_6._jspService(ryjyadd_body_6.java:89) at com.tongweb.webrun.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.tongweb.webbase.facade.ServletHandler.doService(ServletHandler.java:500) at com.tongweb.webbase.core.Handler.invoke(Handler.java:322) at com.tongweb.webbase.core.Handler.service(Handler.java:235) at com.tongweb.webbase.facade.ServletHandler.service(ServletHandler.java:432) at com.tongweb.webbase.facade.RequestDispatcherImpl.doInclude(RequestDispatcherImpl.java:439) at com.tongweb.webbase.facade.RequestDispatcherImpl.access$000(RequestDispatcherImpl.java:103) at com.tongweb.webbase.facade.RequestDispatcherImpl$RDIAction.run(RequestDispatcherImpl.java:654) at com.tongweb.webbase.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:183) at java.security.AccessController.doPrivileged(Native Method) at com.tongweb.webbase.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:100) at com.tongweb.webbase.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:184) at com.tongweb.webrun.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822) at com.tongweb.webrun.runtime.PageContextImpl.include(PageContextImpl.java:398) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473) at layout_1._jspx_meth_tiles_insert_4(layout_1.java:220) at layout_1._jspService(layout_1.java:119) at com.tongweb.webrun.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.tongweb.webbase.facade.ServletHandler.doService(ServletHandler.java:500) at com.tongweb.webbase.core.Handler.invoke(Handler.java:322) at com.tongweb.webbase.core.Handler.service(Handler.java:235) at com.tongweb.webbase.facade.ServletHandler.service(ServletHandler.java:432) at com.tongweb.webbase.facade.RequestDispatcherImpl.doInclude(RequestDispatcherImpl.java:439) at com.tongweb.webbase.facade.RequestDispatcherImpl.access$000(RequestDispatcherImpl.java:103) at com.tongweb.webbase.facade.RequestDispatcherImpl$RDIAction.run(RequestDispatcherImpl.java:654) at com.tongweb.webbase.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:183) at java.security.AccessController.doPrivileged(Native Method) at com.tongweb.webbase.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:100) at com.tongweb.webbase.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:184) at com.tongweb.webrun.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822) at com.tongweb.webrun.runtime.PageContextImpl.include(PageContextImpl.java:398) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473) at rygl.ryjyadd_1._jspx_meth_tiles_insert_0(ryjyadd_1.java:83) at rygl.ryjyadd_1._jspService(ryjyadd_1.java:53) at com.tongweb.webrun.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.tongweb.webbase.facade.ServletHandler.doService(ServletHandler.java:500) at com.tongweb.webbase.core.Handler.invoke(Handler.java:322) at com.tongweb.webbase.core.Handler.service(Handler.java:235) at com.tongweb.webbase.facade.ServletHandler.service(ServletHandler.java:432) at com.tongweb.webbase.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245) at com.tongweb.webbase.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:95) at com.tongweb.webbase.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:185) at java.security.AccessController.doPrivileged(Native Method) at com.tongweb.webbase.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:181) at com.tongweb.webbase.core.ApplicationFilterChain.wrappedDoFilter(ApplicationFilterChain.java:160) at com.tongweb.webbase.core.ContextManager.internalService(ContextManager.java:964) at com.tongweb.webbase.core.ContextManager.service(ContextManager.java:866) at com.tongweb.webbase.startup.TabascoAdapter.service(TabascoAdapter.java:389) at com.tongweb.servlet.servletManager.ServletManager.service(ServletManager.java:1062) at com.tongweb.servlet.connectionMethods.http.HttpHandler.doARequest(HttpHandler.java:258) at com.tongweb.servlet.connectionMethods.http.HttpHandler.processRequests(HttpHandler.java:275) at com.tongweb.servlet.connectionMethods.http.HttpHandler.run(HttpHandler.java:93) at java.lang.Thread.run(Thread.java:534) 

<p class="indent">

banq
2004-09-27 07:58
forward实现。

猜你喜欢