[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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: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: [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)
Keywords