[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: PDF creation using FO and Displaying PDF in IE Bro

Subject: Re: PDF creation using FO and Displaying PDF in IE Browser
From: Anis h <anishrajv@xxxxxxxxx>
Date: Thu, 19 Jul 2001 05:00:35 -0700 (PDT)
studio anis
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! 

anish

--- Matt Sergeant <matt@xxxxxxxxxxxx> wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.