Re: Multi-part response

2005-10-18 Thread Nikola Milutinovic
ALEX HYDE wrote: Okay. Thanks for that guys. I guess I was being a bit optimistic. So images basically can't be written straight to the response? Thanks alot for that both of you. No, but HTTP/1.1 allows for permanent connections, which can save the bandwidth (for not negotiating connection

Re: Multi-part response

2005-10-18 Thread Jon Wingfield
wanted to write part of a page, and then write the image straight othe stream, then some more of the page, and then another image direct to the stream, and then I am not sure of the syntax? --- David Delbecq <[EMAIL PROTECTED]> wrote: Well am not sure of what you mean, and am not

RE: Multi-part response

2005-10-18 Thread ALEX HYDE
Message- > > From: ALEX HYDE [mailto:[EMAIL PROTECTED] > > Sent: 18 October 2005 10:02 > > To: tomcat-user@jakarta.apache.org > > Subject: Multi-part response > > > > Hi All, > > > > This is probably not strictly a Tomcat question so > apologie

RE: Multi-part response

2005-10-18 Thread Peter Bright
m"? > -Original Message- > From: ALEX HYDE [mailto:[EMAIL PROTECTED] > Sent: 18 October 2005 10:02 > To: tomcat-user@jakarta.apache.org > Subject: Multi-part response > > Hi All, > > This is probably not strictly a Tomcat question so apologies. > > I

Re: Multi-part response

2005-10-18 Thread David Delbecq
ore of the page, and then another image direct >to the stream, and then > >I am not sure of the syntax? > >--- David Delbecq <[EMAIL PROTECTED]> wrote: > > > >>Well am not sure of what you mean, and am not sure >>browser accept multi-part response that

Re: Multi-part response

2005-10-18 Thread ALEX HYDE
t sure of what you mean, and am not sure > browser accept multi-part response that way, but i > dont know > http protocol enough. Could you provide an example > http > response you would like to get?? > > Anyway, struts in itself is not extensible that way. > > > ALEX

Re: Multi-part response

2005-10-18 Thread David Delbecq
Well am not sure of what you mean, and am not sure browser accept multi-part response that way, but i dont know http protocol enough. Could you provide an example http response you would like to get?? Anyway, struts in itself is not extensible that way. ALEX HYDE a écrit : >Cheers. I thin

Re: Multi-part response

2005-10-18 Thread ALEX HYDE
Cheers. I think I wanted to know how and if there was a good way of incororating mulitpart response into a framewrok like struts? Let's say I have a page with a number of src tags embeded in it, and I don't want the browser to have to pull in each image individually, how could I write them all ou

Re: Multi-part response

2005-10-18 Thread David Delbecq
If you want to alter the response of a servlet (like struts servlet), a ServletFilter is a good choice. ALEX HYDE a écrit : >Hi All, > >This is probably not strictly a Tomcat question so >apologies. > >If I am using Struts, how can I filter the output so >that I convert it into a multipart respo

Multi-part response

2005-10-18 Thread ALEX HYDE
Hi All, This is probably not strictly a Tomcat question so apologies. If I am using Struts, how can I filter the output so that I convert it into a multipart response? Using a filter probably! But I'm not sure how. For example, how could I send all my embedded images and the response in one muli