|
Subject: Re: [xsl] 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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] PDF creation using FO and Dis, Anis h | Thread | Re: [xsl] PDF creation using FO and, Anis h |
| [xsl] Namespace, Carlos Durand Silves | Date | Re: [xsl] Preserve the structure in, Frank Chen |
| Month |