You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2001/01/16 04:00:22 UTC

BugRat Report #775 has been filed.

Bug report #775 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/775>

REPORT #775 Details.

Project: Catalina
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: Tomcat 4.0
   JVM Release: 1.3
   Operating System: Wndows
   OS Release: 2000
   Platform: Intel

Synopsis: 
Errors in jsp:include jsp file with flush="true" are not displayed in Internet Explorer

Description:
If there is an error in a jsp file that was included with the jsp:include tag and flush is set to true, Internet Explorer (5.5) does not display the error and sometimes gets stuck in a loop loading the page over and over again until the operation is manually stopped. The follow example causes this to happen:

test1.jsp:
<html>
<body bgcolor="#FFFFFF">
<jsp:include page="test2.jsp" flush="true" />
</body>
</html>

test2.jsp:
<%
bad syntax
%>


The Tomcat Exception Report generated by this error displays correctly in IE if flush is set to false and displays correctly in Netscape regardless of the value of flush.

I have used the RequestDumperValve to show the requests going back and forth between IE and Tomcat. While I am not certain this is related, the content length of Tomcat's response is -1, even though some data should have been returned (the error message). The RequestDumperValve excerpt is here:

2001-01-15 21:46:53 RequestDumperValve[Standalone]: ===============================================================
2001-01-15 21:46:58 RequestDumperValve[Standalone]: REQUEST URI       =/test.jsp
2001-01-15 21:46:58 RequestDumperValve[Standalone]:           authType=null
2001-01-15 21:46:58 RequestDumperValve[Standalone]:  characterEncoding=ISO-8859-1
2001-01-15 21:46:58 RequestDumperValve[Standalone]:      contentLength=-1
2001-01-15 21:46:58 RequestDumperValve[Standalone]:        contentType=null
2001-01-15 21:46:58 RequestDumperValve[Standalone]:        contextPath=
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             cookie=JSESSIONID=27F243C53725B2F3E25410108860A1E4
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/pdf, */*
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=accept-language=en-us
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=accept-encoding=gzip, deflate
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=user-agent=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=host=copernicus:8080
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=connection=Keep-Alive
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             header=cookie=JSESSIONID=27F243C53725B2F3E25410108860A1E4
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             locale=en_US
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             method=GET
2001-01-15 21:46:58 RequestDumperValve[Standalone]:           pathInfo=null
2001-01-15 21:46:58 RequestDumperValve[Standalone]:           protocol=HTTP/1.1
2001-01-15 21:46:58 RequestDumperValve[Standalone]:        queryString=null
2001-01-15 21:46:58 RequestDumperValve[Standalone]:         remoteAddr=10.134.3.250
2001-01-15 21:46:58 RequestDumperValve[Standalone]:         remoteHost=copernicus
2001-01-15 21:46:58 RequestDumperValve[Standalone]:         remoteUser=null
2001-01-15 21:46:58 RequestDumperValve[Standalone]: requestedSessionId=27F243C53725B2F3E25410108860A1E4
2001-01-15 21:46:58 RequestDumperValve[Standalone]:             scheme=http
2001-01-15 21:46:58 RequestDumperValve[Standalone]:         serverName=copernicus
2001-01-15 21:46:58 RequestDumperValve[Standalone]:         serverPort=8080
2001-01-15 21:46:58 RequestDumperValve[Standalone]:        servletPath=null
2001-01-15 21:46:58 RequestDumperValve[Standalone]:           isSecure=false
2001-01-15 21:46:58 RequestDumperValve[Standalone]: ---------------------------------------------------------------
2001-01-15 21:46:59 RequestDumperValve[Standalone]: ---------------------------------------------------------------
2001-01-15 21:46:59 RequestDumperValve[Standalone]:           authType=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:      contentLength=-1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:        contentType=text/html;charset=8859_1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=Date=Tue, 16 Jan 2001 02:46:58 GMT
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=Transfer-Encoding=chunked
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=Server=Apache Tomcat/4.0-b1 (HTTP/1.1 Connector)
2001-01-15 21:46:59 RequestDumperValve[Standalone]:            message=OK
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         remoteUser=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             status=200
2001-01-15 21:46:59 RequestDumperValve[Standalone]: ===============================================================
2001-01-15 21:46:59 RequestDumperValve[Standalone]: REQUEST URI       =/test.jsp
2001-01-15 21:46:59 RequestDumperValve[Standalone]:           authType=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:  characterEncoding=ISO-8859-1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:      contentLength=-1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:        contentType=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:        contextPath=
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             cookie=JSESSIONID=27F243C53725B2F3E25410108860A1E4
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/pdf, */*
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=accept-language=en-us
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=accept-encoding=gzip, deflate
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=user-agent=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=host=copernicus:8080
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=connection=Keep-Alive
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=cookie=JSESSIONID=27F243C53725B2F3E25410108860A1E4
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             locale=en_US
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             method=GET
2001-01-15 21:46:59 RequestDumperValve[Standalone]:           pathInfo=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:           protocol=HTTP/1.1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:        queryString=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         remoteAddr=10.134.3.250
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         remoteHost=copernicus
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         remoteUser=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]: requestedSessionId=27F243C53725B2F3E25410108860A1E4
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             scheme=http
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         serverName=copernicus
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         serverPort=8080
2001-01-15 21:46:59 RequestDumperValve[Standalone]:        servletPath=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:           isSecure=false
2001-01-15 21:46:59 RequestDumperValve[Standalone]: ---------------------------------------------------------------
2001-01-15 21:46:59 RequestDumperValve[Standalone]: ---------------------------------------------------------------
2001-01-15 21:46:59 RequestDumperValve[Standalone]:           authType=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:      contentLength=-1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:        contentType=text/html;charset=8859_1
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=Date=Tue, 16 Jan 2001 02:46:59 GMT
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=Transfer-Encoding=chunked
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             header=Server=Apache Tomcat/4.0-b1 (HTTP/1.1 Connector)
2001-01-15 21:46:59 RequestDumperValve[Standalone]:            message=OK
2001-01-15 21:46:59 RequestDumperValve[Standalone]:         remoteUser=null
2001-01-15 21:46:59 RequestDumperValve[Standalone]:             status=200
2001-01-15 21:46:59 RequestDumperValve[Standalone]: ===============================================================