After my day of searching about this topic, I found that using the
multipart/mixed content type involves a server push (as opposed to the usual
client pull).  This functionality is not supported in Internet Explorer.
There is some example code being used in Netscape 4.X browsers and email but
nothing else.

Hopefully someone can prove me wrong and find a way this can be done, but
for now I've given up for more productive work.

Thanks for the information.

Graham



----- Original Message -----
From: "Malcolm Dew-Jones" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 3:09 PM
Subject: RE: Changing Content Type


>
>
>
> > -----Original Message-----
> > From: Graham Lounder [mailto:[EMAIL PROTECTED]]
> > Sent: Dienstag, 30. April 2002 17:18
> > To: [EMAIL PROTECTED]
> > Subject: OT: Changing Content Type
> >
> >
> > Sorry, this is a little off topic.  Is there any way to change your
> > content type mid way through a reponse?  What I want to do is generate a
> > dynamic html page, but I want to change content type and put a
> > dynamically generated jpeg image in the page.  Is this possible?
> >
> > Right now I'm having to make an image tag which points to a seperate
> > servlet which generates the image.  I'm trying to make a tag out of my
> > code and it would help if I could put the html and image generation code
> > together in the same request.  Any ideas if this is even possible?
> >
> > Graham
> >
>
> I've read info on how to do this in a mime group.
>
> The technique is mostly used within mail, but I'm sure I've read about
> using it in browsers as well.
>
> The content type of the entire page is set to multipart/?something? and
> then you must generate the mime struture of each part.
>
> One part (presumably the first part) is text/html.  The hrefs in the
> html can refer to the other parts of the multipart.  The notation to do
> this *may* involve the word "CID" but I've never done it so I'm not sure.
>
> It must be documented in one of the RFC's.
>
> I do not know which browsers support the multipart structure, though I
> recall people talking about the latest netscape, and much as I dislike IE,
> I suspect the latest version also handles them.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to