Hello,
In my application I have servlet filter that handles error handling for runtime 
exceptions; when such exception happens, it forwards request to error page 
where user-frienldy error is presented. 
It works fine for most of the cases, however, if runtime exception happens 
during processing of <jsp:include/> directive, I am getting various exceptions 
in the log  (depending on the location of <jsp:include/> with respect to other 
tags.)
These exceptions do not appear to cause any harm, however I was curious why are 
they happening in the first place. Is it illegal to forward request while 
processing "include"?  This is 6.x version of tomcat.


Caused by: java.io.IOException: Stream closed
                at 
org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:204)
                at 
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
                at 
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:188)
                ... 45 more

Caused by: java.io.IOException: Stream closed
                at 
org.apache.jasper.runtime.BodyContentImpl.ensureOpen(BodyContentImpl.java:582)
                at 
org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:142)
                at 
org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:159)
                at 
org.apache.jsp.WEB_002dINF.jsp.projects_002dtab_002dcontainer_jsp._jspx_meth_stripes_005flayout_002dcomponent_005f1(projects_002dtab_002dcontainer_jsp.java:484)
                at 
org.apache.jsp.WEB_002dINF.jsp.projects_002dtab_002dcontainer_jsp._jspx_meth_stripes_005flayout_002drender_005f0(projects_002dtab_002dcontainer_jsp.java:138)
                at org.apache

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to