Re: Embedding FOP in Java

2002-09-20 Thread J.Pietschmann
Amin Schoeib wrote: > Under this adress I found only version 0.20.4! > But where is the 0.20.5cvs version? Get a CVS client application and look into docs/html-docs/download.html for further hints. J.Pietschmann - To unsubscr

Re: Embedding FOP in Servlet

2002-07-24 Thread Oleg Tkachenko
Martin Ewald wrote: > I have a problem with running the embedding example "FopServlet" which > comes with the latest FOP Distribution 0.20.4.. > > Compiling and installation under Tomcat 4.0.1 was successful, but if i call the >servlet in my > browser --with xml-path and xsl-path as parameters

Re: Embedding FOP

2002-04-18 Thread Keiron Liddle
The difference, though subtle, is that the you are not using the parser from the XSLTInputHandler. Calling get parser sets a boolean value which enables the transformation. Otherwise it simply returns a file input source for the xml file. So get the parser from the XSLTInputSource. .. and we w

Re: Embedding FOP

2002-04-18 Thread Hans-Jürgen Wiesner
Rhett Aultman schrieb: > > > > This may sound like a bizarre question, but you are transforming the XHTML to a FO >document before you attemt to render it, right? To the best of my knowledge, you >must perform your own transforms and provide FOP with valid FO. Are you using a >technique l

Re: Embedding FOP

2002-04-18 Thread J.Pietschmann
Hans-Jürgen Wiesner wrote: > Hello all, > I'm new to FOP and are charged with embedding it in a Servlet > application. We need to send a JSP as HTML or PDF, depending on the > user. So we made a JSP which outputs valid XHTML and tried to convert > that via FO into PDF. > After much experimentation

RE: Embedding FOP

2002-04-18 Thread Rhett Aultman
-Original Message- From: Hans-Jürgen Wiesner [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: Embedding FOP [snip] >> INFO10191 [fop ] (): building formatting object tree DEBUG 10191 [fop ] (): setting up fonts ERROR

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