On Tue, 1 Feb 2005 06:32:50 -0700, Sasikumar Subramanian <[EMAIL PROTECTED]> wrote: > I write one servlet program with Chunked Transfer Encoding. when i > execute this servlet in IE, my browser was hanged. But i got the following > exception, if i execute by httpunit. > > java.io.IOException: Bogus chunk size > > I donno why this exception occured. can anybody solve my problem?
I don't know either. I placed your servlet into a Tomcat container and am able to use wget to download the output without problem. I get the following headers: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/html Content-Length: 4197 Date: Tue, 01 Feb 2005 14:21:51 GMT Server: Apache-Coyote/1.1 Connection: Keep-Alive And the content is exactly 4,197 bytes long. However, when I try to view the document from IE 6.0.2800.1106 I get "The page cannot be displayed" and that's it. However, when I load the same HTML that's been saved to disk *I can view it with IE*. So, IE seems to have a bug in its code when handling receiving chunked responses.... :( -- Darryl L. Pierce <[EMAIL PROTECTED]> Visit the Infobahn Offramp: <http://mcpierce.mypage.org> "By doubting we come to inquiry, through inquiry truth." - Peter Abelard ___________________________________________________________________________ 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