tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens.Muel...@dbv-winterthur.de
Subject AW: AW: Problem with Tomcat + Apache + mod_jk
Date Wed, 23 Jun 2004 10:22:58 GMT
Hello ming fang,

thanks for your help.
I found no 'new' way, to disable the chunked response.
What I did, is to set request.setContentLength(0);

When I connect directly to the tomcat, I'll see this header:
>> Content-Length: 0

But when I connect to the Apache, I'll see this header:
>> Transfer-Encoding: chunked

It is the same request.

All the tips I found, told to set set Content-Length. But when I set it,
it'll be ignored whe I connect through apache and mod_jk.


- Jens

-----Urspr√ľngliche Nachricht-----
Von: ming fang [mailto:mingfang@mac.com]
Gesendet: Dienstag, 22. Juni 2004 20:05
An: Tomcat Users List
Betreff: Re: AW: Problem with Tomcat + Apache + mod_jk


first you seem to have a problem with those 302 responses from tomcat.  
you have to fix that first.

i'm using tomcat5 + apache2 + mod_jk2.
in my setup, the chunked header comes from tomcat.

just search google for "tomcat disable chunking".  there are lots of 
hits.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message