tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjarne Jørgensen>
Subject Data-Streaming : Transfer-Encoding: chunked
Date Fri, 14 Feb 2003 19:27:01 GMT

I've developed a servlet that uses FOP to generate PDF documents that
will be shown in a browser.

I just have this problem, that it works 100% fine on a jakarta-tomcat
3.3, but when i deploy the code on a jakarta-tomcat 4.1.12 the stream is
"chunked" up in small bits and the browser displays an error "while
downloading", like it cant understand "chunked" datastreams.

How can i make jakarta-tomcat to not transfer-encode my stream, or get
internet explorer to read my data.

When i use the program "WEBBUG" i can get all 100% datastream from
tomcat 4.1.12 - but still the header information tells me that it is

HTTP header :   /Please dont mind that this is another server, because
it still writes "chunked" data out, and my IE doesnt read it. IE5.5,
IE6.0 etc.

HTTP/1.1 200 OK
Expires: 1/1/1980 00:00:00
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/pdf
Transfer-Encoding: chunked
Date: Fri, 14 Feb 2003 14:11:22 GMT
Server: Apache Coyote/1.0
Connection: close
Bjarne Jørgensen <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message