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: Thu, 19 Jul 2001 13:31:21 +0100 (BST)
On Thu, 19 Jul 2001, Anis h wrote:

>
> Matt,
>
> I tried but still it doesn't work, unfortunately I
> have to live with IE(My company doesn't use Netscape)
>
>
> I tried to read a pdf doucment and put its content in
> a outputstream,attach that into my servlets response..
> and I give setContentType("text/pdf")  instead of
> setContentType("applicaiton/pdf")
> then the browser prompts me a selection window and if
> i select adobe
> then it opens my document...but I want the browser to
> open adobe and display my document..
>
> please help me!

Maybe you're not sending the content-length. That can make PDFs not work
on IE too.

-- 
<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