Fred,
Use the <jsp:include> tag and not the include directive.
Try using
<jsp:include page="myhtml.html" flush="true" %>
instead of
<%@ include file="myhtml.html" %>
This will cause the myhtml.html file NOT to be parsed as JSP code.
Regards,
Richard
-----Original Message-----
From: fred Java [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 11:11 AM
To: [EMAIL PROTECTED]
Subject: Help: Include a HTML file with image
Dear All,
Could you give me some help on the following problem please?
I have a jsp file include an html page. All worked well until I have a image
in the HTML page. I can not see the image (jpg file) from the JSP page (I
only can see the document in the HTML page without the image). if I display
the HTML from outside of the JSP page, I can see everything (with the
image). Could you give me some help please?
Best Regards,
Fred
Some code I used:
In JSP:
<%@ include file="myhtml.html" %>
In HTML:
<TABLE width="100%">
<TBODY>
<TR align=middle vAlign=center>
<TD align=left vAlign=center><IMG alt="My Home Page" border=0
height=151 src="myimage.jpg" width=144></TD>
</TBODY>
</TABLE>
... other thing in HTML part, which can be seen from JSP page.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
===========================================================================
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
===========================================================================
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