This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PDF creation using FO and Displaying PDF in IE Browser


On Wed, 18 Jul 2001, Anis h wrote:

> Thanks Matt,
>
> Actually  I have the entire document in a PrintStream
> which I want to send to the browser in the Servlet
> response.
>
> PrintStream out = new PrintStream(
> res.getOutputStream() );
>
> I don't have any physical PDF document.

The answer remains the same. Append a querystring to your URL that says
.pdf at the end. This will convince the b0rked IE that you're actually
sending a PDF down the wire.

I hear that MS haven't even fixed this for IE6, but I haven't tested it
yet.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]