Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi Thanks, I did that and it worked. -Raj --- Kuehnberger <[EMAIL PROTECTED]> wrote: > Hi, > > I had the same problem: > > For me it worked to change the name of the servlet > (let's say report to > report.pdf) > For outputting I use the function: > > public void renderFO( Document doc, > H

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
u start writing the PDF > content. > Try calling clearBuffer() on the output stream > first. > > YS > > -Original Message- > From: Rajagopal. V [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 15, 2001 2:49 PM > To: [EMAIL PROTECTED] > Subject: Re: Embedding

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Kuehnberger
Hi, I had the same problem: For me it worked to change the name of the servlet (let's say report to report.pdf) For outputting I use the function: public void renderFO( Document doc, HttpServletResponse response,HttpServletRequest request ) throws Exception { // Create the PDF. ByteArra

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Shkuro, Yuri
ge- From: Rajagopal. V [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:49 PM To: [EMAIL PROTECTED] Subject: Re: Embedding fop in IE..Help!!! Hi Im using a JSP to generate this PDF. I am able to open other "Static" pdfs. This is what i do, i create a bytearrayoutputstream whic

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi Im using a JSP to generate this PDF. I am able to open other "Static" pdfs. This is what i do, i create a bytearrayoutputstream which will hold the output of the render and then use a pageContext.getOut().print(); and this results in printing binary content on the screen.. I assume this is b

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Amit
Can you open other pdf files (via a link in a html page) in IE? "Rajagopal. V" wrote: > Hi All > I have an XML file which i combine with a XSL to > generate the FO file and render it. It works fine with > Netscape but im having a tough time with IE. It is > displaying garbage on teh screen. All

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Yes, I do set the content Type and NEtsacpe takes it properly. IE does not take the content type(from MSDN) --- Stefan Weber <[EMAIL PROTECTED]> wrote: > Did you set the proper content type? > > response.setContentType("application/pdf"); > > Stefan > > -Original Message- > From: Raja

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi I am using a JSP to generate this stuff. I have a taglib which generates the PDF and i use OutputStream to spit out the PDF. I use Fop 0.18 for this. What is strange to me is 1) It works in Netscape(IT works all the time in Netscape) 2) When i take the FO file that is used to generate the PDF

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Stefan Weber
Did you set the proper content type? response.setContentType("application/pdf"); Stefan -Original Message- From: Rajagopal. V [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 4:45 PM To: [EMAIL PROTECTED] Subject: Embedding fop in IE..Help!!! Hi All I have an XML file which i

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Carmelo Montanez
I take it you are using an application. Are you sending both text and binary data at the same time?, are you using the printWriter? or the getOutputStream method class?, for binary data you will need the getOutputStream. I had the same problem some time ago and sending JUST the binary data solve