I use Pd4ML tag library which in fact has the first few lines as
<%@ taglib uri="http://pd4ml.com/tlds/pd4ml/2.6" prefix="pd4ml"
%><%@page contentType="text/html; charset=ISO8859_1"
I am wondering if the contentType should be "application/pdf" instead ??
A http request hits on one of our controllers which sends the response as a JSP that uses PD4ML.
But the problem is the response is received as (content type) application/octet-stream because of which the PDF does not render. Is there a way to fix this? or is there a way in PD4ML tag library to set content type elsewhere in one of the tags?
Thanks for your help. I appreciate.