Re: [xsl] PDF creation using FO and Displaying PDF in IE Browser

Subject: Re: [xsl] PDF creation using FO and Displaying PDF in IE Browser
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Wed, 18 Jul 2001 18:48:45 +0100 (BST)
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


Current Thread
  • Re: [xsl] ext func
    • xmlhack . - Wed, 18 Jul 2001 15:35:11 -0000
      • Anis h - Wed, 18 Jul 2001 09:17:54 -0700 (PDT)
        • Matt Sergeant - Wed, 18 Jul 2001 18:02:54 +0100 (BST)
          • Anis h - Wed, 18 Jul 2001 10:39:01 -0700 (PDT)
          • Matt Sergeant - Wed, 18 Jul 2001 18:48:45 +0100 (BST) <=
          • Anis h - Thu, 19 Jul 2001 05:00:35 -0700 (PDT)
          • Matt Sergeant - Thu, 19 Jul 2001 13:31:21 +0100 (BST)
          • Francis Norton - Thu, 19 Jul 2001 14:17:19 +0100
          • Anis h - Thu, 19 Jul 2001 06:33:24 -0700 (PDT)