Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26392

    I use Pd4ML tag library which in fact has the first few lines as
    <br /> <%@ taglib uri="http://pd4ml.com/tlds/pd4ml/2.6" prefix="pd4ml"<br /> %><%@page contentType="text/html; charset=ISO8859_1"<br /> %><pd4ml:transform<br />

    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.

    #28031

    Never mind. I have got this working 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.