Re: Chunked Transfer-Encoding problem

Sasikumar Subramanian <[email protected]> Mon, 7 Feb 2005 14:28:17 +0530
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi Marco,

       I used oc4j container, which supports HTTP/1.1 protocol.
       I think this is not a problem in container.
       bcoz, I got the correct response when i send request to container
thru TELNET in command prompt:

    ex:    *telnet localhost 8888 <enter>
            GET /myweb/testservlet1 http/1.1 <enter><enter>*

      So this problem was caused due to the bugs in browsers(IE and
firefox) and Httpunit.

Regards,
Sasikumar S

Marco Trevisan wrote:

>On Tue, 1 Feb 2005 06:32:50 -0700, Sasikumar Subramanian wrote:
>
>
>
>>Hi All,
>>
>>     I write one servlet program with Chunked Transfer Encoding.
>>
>>
>
>If you're using Tomcat you may be interested in [1].
>Are you using another container? Does it allow http headers manipulation ?
>
>[1] Remy Maucherat on
>http://mail-archives.apache.org/eyebrowse/[email protected]&msgNo=55521
>"> I have some questions related to how tomcat's servlet
>
>
>>container handles some HTTP/1.1 issues. Understanding
>>these, I think, would be beneficial in improving the
>>performance of my web-application. Here they go
>>
>>
>
>
>
>>1. How can my servlet respond with transfer encoding
>>as chunked? When is my serlvet's OutputStream
>>committed? I dont have all my data ready, I want send
>>it out in chunks - how do I do it?"
>>
>>
>
>
>This is not your servlet's problem (it's the container's problem)."
>
>--
>Marco
>
>___________________________________________________________________________
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>


___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html