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 2002/08/13 21:11:28 UTC

DO NOT REPLY [Bug 11674] New: - include throws 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=11674>.
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=11674

include throws IllegalStateException

           Summary: include throws IllegalStateException
           Product: Tomcat 4
           Version: 4.1.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rainer.klute@epost.de


I have a simple little JSP file that includes another one. However, Tomcat
throws an IllegalStateException when it comes to the include. I tested two
variants: the first one with "<jsp:include page="included.jspf"/>", and the
second one with "<% pageContext.include("included.jspf"); %>". Both throw the
exception in a call to
org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream().

Attached you'll find the test application as a WAR.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>