The
jsp has the following code to open the jsp as a
word document:
<%@ page contentType="application/msword" %>
<% response.addHeader("Content-Disposition", "attachment; filename=\"Cover_Letter.doc\";"); %>
Am using the following line of code to display the image in the word document :
<p>
<img src="file:///C:/modeln5.1/genzyme1.0/src/com/genzyme/ac/medicaid/report/GenzymeLogo.gif" alt=" GENZYME"
width="200" height="100">
</p>
even after changing the path (real/relative)the image does not get displayed in the word document(its a "X" getting displayed),
but the same path displays image if I remove the content type and the JSP page works normally.
Thanks,
Nishtha
[ March 19, 2007: Message edited by: nishtha verma ]
[ March 19, 2007: Message edited by: nishtha verma ]