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.

Saminda



Saminda Abeyruwan wrote:

Hi all,

I'm using tomcat 5.0.28 in Linux environment.

In doPost(...) method i'm asking HttpServletResponse's output stream. Tomcat provide me with *org.apache.coyote.tomcat5.CoyoteResponseFacade *getOutputStream(), which gives me a chunked output stream. Providing a chunked output stream limited the flexibility of interoperability with other systems, which would not support chunked stream.


Could someone pls sujest me a work around to get through with it. To get a standard outputStream out of prior rather a chunked output stream.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to