Please go to www.w3c.com and look at how HTML and HTTP works. There are
some good explanations of that there.
ANY included pieces in an HTML page are downloaded seperately. This
includes things like images (IMG tag), applets, shockwave plugins, active-X,
quicktime movies, javascript libraries, etc.
Thor HW
----- Original Message -----
From: Betty Jo Booth <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 23, 2000 10:46 AM
Subject: Re: display image and text/html together
> Hmmm....
>
> Sorry to barge in, but now I'm confused. If it's done in two responses,
> won't that result in two pages (one displaying an image and the other
html),
> rather than an image and html together on one page?
>
>
> ----- Original Message -----
> From: Frankie Wu <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 22, 2000 5:31 PM
> Subject: Re: display image and text/html together
>
>
> > You should do it through two seperately responsing.
> > one respones a text/html MIME type content to client, and the other
> responses a image/gif MIME type.
> >
> > Frankie
> >
> > ----- Original Message -----
> > From: Yang XIAO <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, February 22, 2000 11:32 PM
> > Subject: display image and text/html together
> >
> >
> > > Hi, list
> > >
> > > Can anyone please tell me how to display a local image file and
> text/html
> > > together in a page on the web?
> > >
> > > since the content type and getoutputstream have to be set to display
an
> > > image:
> > > response.setContentType("image/gif");
> > > ServletOutputStream out = response.getOutputStream();
> > >
> > > But for a text html,
> > > response.setContentType("text/html");
> > > PrintWriter out = response.getWriter();
> > >
> > > thanks in advance
> > >
> > >
> > >
> > > ______________________________________________________
> > > Get Your Private, Free Email at http://www.hotmail.com
> > >
> > >
>
___________________________________________________________________________
> > > 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
>
>
___________________________________________________________________________
> 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