I am using Windward Reports for generating HTML output. HTML format output has an issue with displaying images which are there in input MSWord Template.
Same input template is working fine for other formats such as PDF and RTF but its not showing image for HTML output.
Here is the code i have used to set response content type :
if (template.getTemplateOutputTypeString().equal("PDF")) {
response.setContentType("application/pdf");
} else if (template.getTemplateOutputTypeString().equals("RTF")) {
response.setContentType("application/msword");
} else if (template.getTemplateOutputTypeString().equals("HTML")) {
response.setContentType("text/html");
}
I have also tried using "application/html"..
Can you please suggest me what should i do to make sure that all the generated reports (HTML format) will contain images as defined in there MSWord Template.
Thanks.