On 17 Jun 2011, at 22:07, Chetan Shirol wrote:

Hi Chetan

> I have set the content/type properly to PDF but still the issue is there.
> Actually we are migrating from fop .25 to .95 and this migration has caused 
> this
> issue.

Yes, but you also mention the issue is limited to IE6. People should really 
stop supporting it, and push their customers to modern browsers. That's the 
only way IE6 is ever going to die. (Still have to support it at my day-job too, 
to my dismay...)

For the remainder, we have little context information about your servlet code. 
Can you check if the hint in the FAQ about using a ByteArrayOutputStream is 
implemented? (see the note at: 
http://xmlgraphics.apache.org/fop/1.0/servlets.html#xslt)

The issue seems to be that IE6 thinks it has to display a text-file, rather 
than a PDF. 
I see no hard evidence so far that the PDF is actually corrupted. Another idea 
may to force the URL to end in .pdf by adding a dummy parameter. That used to 
be the way to trick browsers that depend on file extensions in the URL, rather 
than the content type in the HTTP header...

see also: http://xmlgraphics.apache.org/fop/1.0/servlets.html#ie



Regards

Andreas
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to