Hi, I have a Java module that generates a PDF using the Jakarta FOP generator. I am currently porting this module from a different J2EE server to NetWeaver. The process works find on the old J2EE server, but in NetWeaver I am receiving a blank screen when the PDF is sent back to the browser. After the PDF has been generated through FOP, I set the response content type as follows:
response.setContentType("application/pdf");
I then send the PDF stream to the browser:
response.setContentLength(content.length);
response.getOutputStream().write(content);
I have set the Mime type in my Web.xml file, but I am wondering if there is something else I have to do in NetWeaver to enable this.
We are using NetWeaver 6.30.
Any thoughts?
Thanks
Anthony