tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: HttpServletResponse's getOutputStream() methtod.
Date Tue, 06 Sep 2005 12:14:00 GMT
I thought if setContentLength() is used, then chunked encoding is not used. 
Is that not the case?

-Tim

Saminda Abeyruwan wrote:

> Tim Funk wrote:
> 
>> If you want to disable chunked encoding - you need to determine how 
>> much data you will send so setContentLength can be called.
>>
>> -Tim
> 
> 
> Hi Tim,
> 
> Thanks for the reply,
> 
> Is it something like,
> response.setContentLength(1000);
> OutputStream out = response.getOutputStream();
> 
> Yet, i would like to have a outputsteam without any chunking at all.
> 


---------------------------------------------------------------------
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