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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to