so you know if IE's ignoring the Mimetype. If that's not it, then it's probably because you're using an older version of FOP. I believe (someone correct me) that IE should be ok with the latest release.
-Steve
-----Original Message-----
From: Abdul Wahab [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 12:24 AM
To: [EMAIL PROTECTED]
Subject: FOP does not rendering PDF in IE5.5 SP1

Hi!
 
I have coded my servlet to convert PDF from XML using FOP.
It is working in Netscape. I can view my PDF.
When I try to run that particular servlet from IE5.5, It is not coming.
But I can see my rendered debugging message in the server console.
My code is below...
 
    .......
    .......
    byte[] content = out.toByteArray();
    response.setContentType("application/pdf");
    response.addHeader("Content-Disposition", "inline; filename=test.pdf");
    response.setContentLength(content.length);
    response.getOutputStream().write(content);
    response.getOutputStream().flush();
    response.getOutputStream().close();
 
I hope my code is correct.  But I couldn't understand why is this? Can you help me.
 
Thanks,
Wahab.

Reply via email to