You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/02/10 01:29:12 UTC
DO NOT REPLY [Bug 16319] -
RequestDispatcher.include in a customTag causes IllegalStateException
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16319>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16319
RequestDispatcher.include in a customTag causes IllegalStateException
------- Additional Comments From funkman@joedog.org 2003-02-10 00:29 -------
It sounds like the include made via RequestDispatcher.include is acquiring a
ServletOutputStream. Since a Writer has already been allocated - this is
illegal. I speculate Jasper gets around this by wrapping ServletOutputStream in
a jsp:include.
I guess the question to ask is: Does your include use OutputStream or Writer? If
it uses OutputStream - rewrite it to use writer.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org