Anonymous | Login | Signup for a new account | 12-17-2024 14:42 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002748 | [Resin] | minor | always | 06-23-08 11:41 | 06-23-08 14:57 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.6 | ||||||
Summary | 0002748: pageContext.forward not stopping output | ||||||||
Description |
(rep by Vinod Mehra) Reproducer jsp: <% pageContext.forward("/foo"); %> Content after forward Any content after forward should be ignored silently. But instead we get this from resin 3.1.6 (which is breaking existing pages): java.io.IOException: write() forbidden after writer is closed at com.caucho.jsp.JspWriterAdapter.write(JspWriterAdapter.java:98) at _jsp._foo__jsp._jspService(_foo__jsp.java:33) at com.caucho.jsp.JavaPage.service(JavaPage.java:61) at com.caucho.jsp.Page.pageservice(Page.java:578) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195) at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:194) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:270) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) at java.lang.Thread.run(Thread.java:595) Workaround is to use either RequestDispatcher.forward() or <jsp:forward page="/foo"/>. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |