At 23:47 07/01/00 +0000, Boemio, Neil (CAP, FGI) wrote:
>I have a servlet which queries my database and outputs HTML. When using
>IE4.x and Netscape 4.x against Unix and NT boxes, everything is fine. When
>using IE5 against the same Unix box, everything is fine. When using IE5
>against the same NT box, the servlet is outputting (or the browser is
>rendering) only part of the HTML. It stops in the middle of a table.
What web server are you running? I have run into various oddities in
behaviour from certain combinations of browser and server which I
eventually traced to HTTP 1.1 issues, specifically to do with persistent
connections. With HTTP 1.0 (such as you would have with IIS 3), the browser
would always know that there was no more data to come from the server once
the connection was closed. With HTTP 1.1 (standard with IIS 4.0), Internet
Explorer 5.0 doesn't seem to be able to work it out so well, with certain
pages not being drawn even though all the data had been sent, and I found
that nothing I did at the servlet level made any difference (e.g., closing
the connection, sending a Content-Length header, etc.). In the end I got
around the problem by switching off HTTP 1.1 responses in IIS 4.0 (by a
registry setting). A better solution was possible using IBM HTTP Server
(IBM's Apache for Windows), where I could conditionally return HTTP1.1 or
1.0 responses depending on the request URL.
John Moore
----------------------------------------------------------------------------
John Moore
Bizfinity, Inc
2121 Staunton Court
Palo Alto, CA 94306
(650) 565 9500 x604
----------------------------------------------------------------------------
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html