We are having the requirement to embed images into excel using JSP.
Means the page should get exported as Excel with image embed in it.
I tried this simple example
<% response.setHeader("Content-Disposition", "attachment;filename=\"mult-table.xls\""); %>
<%@ page contentType="application/vnd.ms-excel" %>
<table><tr><td><img src="/excel/images.jpg" ></td></tr></table>
But the issue is that image is not getting embedded..I am able to see only the hyperlink to image.
Please let me know how can i achieve this.
We cannot use POI here as some client restrictions are there.