http://nagoya.apache.org/bugzilla/show_bug.cgi?id=453 *** shadow/453 Tue Feb 6 18:26:14 2001 --- shadow/453.tmp.25070 Tue Feb 6 18:26:14 2001 *************** *** 0 **** --- 1,116 ---- + +============================================================================+ + | Errors in jsp:include jsp file with flush="true" are not displayed in Inte | + +----------------------------------------------------------------------------+ + | Bug #: 453 Product: Tomcat 4 | + | Status: UNCONFIRMED Version: Unknown | + | Resolution: Platform: All | + | Severity: Normal OS/Version: All | + | Priority: High Component: Jasper | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | 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]: +=============================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]