help please Problem with generation PDF

2001-09-14 Thread Semprini Davide
Hi, I have witten a Servlet that take two file in input (file.xml and file.xsl) my code is: Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); File xmlFile = new File(c:\\xml_to_pdf.xml); File xslFile = new

HELP - PASSING PARAMETER

2001-09-21 Thread Semprini Davide
Hi at all, I have two important question: 1) I have a jsp page that call a java function of my external class. I pass at this object dynamic xml and stylesheet xsl and then I have to pass some parameter at my stylesheet that are stored in HttpSession object. If I use XSLTransform from fop there

Generating PDF on Fly

2001-09-21 Thread Semprini Davide
Hi, I have a question: Is possible to generate and VISUALIZE with a common Browser with Acrobat Reader plug-in a PDF using a JSP that take in input a Dynamic XML? Tanks! D.Semprini - To unsubscribe, e-mail: [EMAIL

Same servlet problem

2001-09-24 Thread Semprini Davide
Hi at All, I have encountered the same problem of Carmelo, I have a JSP Page that generate dinamically PDF file getting input XML Dynamic and urlXSL! My jsp generate correctly with FOP 0.20.1 a PDF file but when I'm trying to open it M.IE visualize me (the pdf) like a object ActiveX on left

Re: FOP WARNING

2001-09-24 Thread Semprini Davide
first the transformation and then the driver Bye D.Semprini Semprini Davide wrote: [EMAIL PROTECTED]"> Hi, I have had the same problem Nobody give me a response! This code in FOP Home page don't work (for me!) ! Driver driver = new Driver(); driver.set

Re: FOP WARNING

2001-09-24 Thread Semprini Davide
stem and then used the driver to convert it to PDF...how is performance on that? Instead of writing the file out to the file system did you try converting into some sorta stream and use the driver?? thanks for your help Amit Semprini Davide wrote: Hi, I have had the same problem!!

Re: Anything wrong with this code

2001-09-25 Thread Semprini Davide
Hi, PDF file is a binary file!!! Use this code it's work: byte[] content = outPDF.toByteArray(); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush(); D.Semprini Carmelo Montanez wrote: 02be01c1452d$7953e270$[EMAIL

Re: Anything wrong with this code

2001-09-26 Thread Semprini Davide
IL PROTECTED]"> Carmelo - Original Message - From: Semprini Davide To: [EMAIL PROTECTED] Sent: Tuesday, September 25, 2001 3:51AM Subject: Re: Anything wrong with thiscode H