You can't do it.  You can't mix different content types.

you have to do this:

<img src="Image.jsp"><br>
hello

d.

Paolo Sommaruga wrote:

> Cool ! How to mix image with html ? i.e., how to put
> a textual "Hello World !" after the image ?
> I have tried to put after your code
>
> <%
>  out.flush();
>  response.setContentType("text/html");
> %>
>
> <br>
> hello world !!!
>
> but, don't works
>
>                 Paolo Sommaruga
>
> >
> >As a follow-on to Christian Mallwitz's example, here is a JSP that creates a
> >JPEG dynamically using the AWT and the JPEGImageEncoder. I have tested this
> >only under JSP 1.1.
> >
> >
> >
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
David Mossakowski              [EMAIL PROTECTED]
Programmer                           212.310.7275
Instinet Corporation

"I don't sit idly by, I'm planning a big surprise"

___________________________________________________________________________
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