Subject: Re: 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: ext func
- xmlhack . - Wed, 18 Jul 2001 11:40:25 -0400 (EDT)
- Anis h - Wed, 18 Jul 2001 12:22:28 -0400 (EDT)
- Matt Sergeant - Wed, 18 Jul 2001 13:07:26 -0400 (EDT)
- Anis h - Wed, 18 Jul 2001 13:43:34 -0400 (EDT)
- Matt Sergeant - Wed, 18 Jul 2001 13:53:21 -0400 (EDT) <=
- Anis h - Thu, 19 Jul 2001 08:05:07 -0400 (EDT)
- Matt Sergeant - Thu, 19 Jul 2001 08:38:58 -0400 (EDT)
- Francis Norton - Thu, 19 Jul 2001 09:22:33 -0400 (EDT)
- Anis h - Thu, 19 Jul 2001 09:37:57 -0400 (EDT)
|
|