You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Katiyar, Bhawana" <Bh...@workscape.com> on 2002/03/04 22:22:42 UTC

FO -> PDF works with Netscape, not with IE

Hi! I am using version .18 to render PDF from XML. Rendering is  fine with Netscape, but doesn't work with IE. 
Any clues?
Thanks
Bhawana



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: FO -> PDF works with Netscape, not with IE

Posted by Chetan Vig <ch...@ymerge.com>.
Make sure you have the following set in your response
                 // CONTENT DISPOSITION ENSURES THAT IE BROWSER RECOGNIZES
THE PDF
                  // BYTE STREAM AS A PDF FILE
                  // SOLUTION FOUND FROM MICROSOFT SUPPORT PAGE
                  // NO IMPACT FOR NETSCAPE BROWSER
                  response.addHeader("Content-Disposition",
"inline;filename=report.pdf");
                  response.setContentLength(contentSize);

Chetan


Jim Urban wrote:

> Be sure you set the content length, otherwise IE has problems.  It also
> helps to call reset to clear any information in the HTTP header before
> setting your content type or any other values.
>
> Jim
>
> > -----Original Message-----
> > From: Katiyar, Bhawana [mailto:Bhawana.Katiyar@workscape.com]
> > Sent: Monday, March 04, 2002 3:23 PM
> > To: fop-dev@xml.apache.org
> > Subject: FO -> PDF works with Netscape, not with IE
> >
> >
> > Hi! I am using version .18 to render PDF from XML. Rendering is
> > fine with Netscape, but doesn't work with IE.
> > Any clues?
> > Thanks
> > Bhawana
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> > For additional commands, email: fop-dev-help@xml.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: FO -> PDF works with Netscape, not with IE

Posted by Jim Urban <ji...@netsteps.net>.
Be sure you set the content length, otherwise IE has problems.  It also
helps to call reset to clear any information in the HTTP header before
setting your content type or any other values.

Jim

> -----Original Message-----
> From: Katiyar, Bhawana [mailto:Bhawana.Katiyar@workscape.com]
> Sent: Monday, March 04, 2002 3:23 PM
> To: fop-dev@xml.apache.org
> Subject: FO -> PDF works with Netscape, not with IE
>
>
> Hi! I am using version .18 to render PDF from XML. Rendering is
> fine with Netscape, but doesn't work with IE.
> Any clues?
> Thanks
> Bhawana
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org