Thanks :)

You're correct about blocking inputStreams, but I actually need Tomcat to write 
a multipart *response*, on an OutputStream (the reading side is on the client, 
and our client-side programmers will manage it without blocking).
I wondered whether I'll have to hand-code it (manually output the headers, 
etc), or is there some utilities on Tomcat/apach.

Thanks anyway :)


--- On Tue, 1/4/11, Filip Hanik - Dev Lists <devli...@hanik.com> wrote:

From: Filip Hanik - Dev Lists <devli...@hanik.com>
Subject: Re: Comet and multipart
To: "Tomcat Users List" <users@tomcat.apache.org>
Date: Tuesday, January 4, 2011, 9:43 AM

> 1) If we use multipart format (to separate between messages), does 
> Tomcat/Apache have utilities to make it easier? Or should we hand-code the 
> appropriate headers, separators, etc?
Not in Tomcat 6. The risk of using any utilities out there, is that they will 
want to block on inputstream.read until the entire request 
body has been read, and I suspect that's not what you want.




      

Reply via email to