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