Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26489

    Hello experts.
    I’m newbie to PD4ML.
    I’ve tried to use PD4ML in a J2EE project where we’re using jspx pages.
    I tried this code , but it generate a malformed pdf.
    Has anyone used PD4ML with jspx? ..
    Any ideas?.
    Thanks.

    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:pd4ml="/pd4ml">
    <jsp:scriptlet>
    response.setContentType("application/pdf");
    response.setHeader ("Content-Disposition","inline;filename="especial.pdf"");
    </jsp:scriptlet>
    <pd4ml:transform screenWidth="1000" inline="true">HI!!</pd4ml:transform>
    </jsp:root>

Viewing 1 post (of 1 total)

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