Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2748 | minor | always | 06-23-08 11:41 | 06-23-08 14:57 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | urgent | OS Version: | |||
Status: | closed | Product Version: | 3.1.6 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.2.0 | ||
|
|||||
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"/>. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|