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

Reply via email to