Misra

The pdf file is correctly displayed, but did you solve it with a seperate
servlet or just strait XSL FO together with tags ????
and can i get the solution

I found also a description of the problem it seems that Enternet Explorer
requires the Content-Length Header to have the exact file size

Martin
----- Original Message -----
From: "SUPRIYA MISRA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 07:22 PM
Subject: RE: problem diplaying on the fly generated PDF files within IE


> try my web-page from IE and see what you get
> http://146.9.55.120:800/YR3LOT/data2.jsp
>
>
> >From: "Aravapalli, Udaya" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List <[EMAIL PROTECTED]>
> >Subject: RE: problem diplaying on the fly generated PDF files within IE
> >Date: Mon, 20 May 2002 13:07:51 -0400
> >
> >Hi
> > Check if this could be of any help.
>
>http://www.redhat.com/support/resources/faqs/stronghold3/browser_faq.html#s
e
> >curemsie
> >
> >Uday
> >
> >-----Original Message-----
> >From: Martin Kuypers [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, May 20, 2002 11:38 AM
> >To: Struts Users Mailing List
> >Subject: Re: problem diplaying on the fly generated PDF files within IE
> >
> >
> >Thanks Adam
> >
> >I will see if i can find something
> >I am getting the last things together of a complete struts based
> >environment
> >and need to figure this out
> >
> >martin
> >----- Original Message -----
> >From: "Adam Hardy" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Sent: Monday, May 20, 2002 03:27 PM
> >Subject: Re: problem diplaying on the fly generated PDF files within IE
> >
> >
> > > I've heard of a bug with IE and PDFs - can't remember quite what it is
> > > but you might want to search on Microsoft's MSDN site. It's got
> > > something to do with the content type description headers.
> > >
> > > Adam
> > >
> > > Martin Kuypers wrote:
> > >
> > > >I have the following problem
> > > >
> > > >I generate PDF files on the fly using XSL FO togehter with a
Taglibrary
> > > >When i generate the PDF it shows up just fine within Netscape and
> >within
> > > >IE6.0 it shows it in an ascii form instead of Launching Acrobat
Reader
> > > >
> > > >Acrobat Reader is installed correctly and it shows not dynamically
> >generated
> > > >PDF filesnicely within IE6.0
> > > >I read that i had to fake IE with adding ?fakeIE=test.pdf at the end
of
> >the
> > > >call, but this doesn't seem to work eather
> > > >
> > > >I included a file as a little example
> > > >
> > > >The call looks like fo_2_pdf1.jsp?fakeIE=test.pdf
> > > >
> > > >Any suggestions would help
> > > >
> > > >Thanks
> > > >Martin Kuypers
> > > >
> > > ><%@taglib uri="/WEB-INF/fop.tld" prefix="fop" %>
> > > >
> > > ><%response.setContentType("application/pdf");%>
> > > >
> > > ><%String foFile = request.getParameter("fo");%>
> > > >
> > > ><fop:fo2pdf>
> > > >
> > > ><?xml version="1.0"?>
> > > >
> > > ><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
> > > >
> > > ><fo:layout-master-set>
> > > >
> > > ><fo:simple-page-master master-name="simple"
> > > >
> > > >page-height="11in"
> > > >
> > > >page-width="8.5in"
> > > >
> > > >margin-top="1in"
> > > >
> > > >margin-bottom="1in"
> > > >
> > > >margin-left="1in"
> > > >
> > > >margin-right="1in">
> > > >
> > > ><fo:region-body/>
> > > >
> > > ></fo:simple-page-master>
> > > >
> > > ></fo:layout-master-set>
> > > >
> > > >
> > > ><fo:page-sequence master-name="simple">
> > > >
> > > ><fo:flow flow-name="xsl-region-body" text-align="center">
> > > >
> > > ><fo:block font-size="24pt">
> > > >
> > > >Welcome to XSL FO!
> > > >
> > > ></fo:block>
> > > >
> > > ><fo:block font-size="18pt" color="blue">
> > > >
> > > >Welcome, Welcome, Welcome
> > > >
> > > ></fo:block>
> > > >
> > > ></fo:flow>
> > > >
> > > ></fo:page-sequence>
> > > >
> > > ></fo:root>
> > > >
> > > ></fop:fo2pdf>
> > > >
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> > > >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
>
>
>
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to