Subject: Re: PDF creation using FO and Displaying PDF in IE Browser
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Wed, 18 Jul 2001 18:02:54 +0100 (BST)
|
On Wed, 18 Jul 2001, Anis h wrote:
> I have a question related to displaying pdf in a
> browser.. I created
> a pdf in my servlet and I attached to the response of
> my servlet
>
> res.setContentType("application/pdf"); then when I try
> to access my
> servlet from the IE browser, my servlet is executed
> and it creates
> the PDF document but in the browser I am not able to
> see the PDF
> document.. the status bar shows downloading from url
> of my servlet..
> adope window pops up for a second and browser shows
> me nothing
>
> let me know if I need to do any settings in my browser
> or I need to
> add anything in my servlet
Nope, just append something to the URL to make IE see it as pdf, e.g.
http://server/path/to/servlet?ie_really_sucks=.pdf
:-)
--
<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)
|
|