Re: PDF in a JSP ... searching alternative way

2002-06-20 Thread J.Pietschmann
Massimiliano Cuccia wrote: > I want to produce a pdf in a jsp, so I have a string fo that contains the fo > instructions ... > I had found this code to output the pdf directily in the browser > Driver driver = new Driver(new InputSource(new > StringBufferInputStream(fo)), response.getOutputS

RE: PDF in a JSP ... searching alternative way

2002-06-20 Thread Sergei Timofejev
InputSource xslfo_doc = new InputSource(xmlfo_input); ByteArrayOutputStream outstr = new ByteArrayOutputStream(); Driver driver = new Driver(xslfo_doc, outstr); driver.run(); byte[] content = outstr.toByteArray(); response.setContentLength(content.length); outstr.close(); response.getOutputStream(

Re: PDF in a JSP ... searching alternative way

2002-06-20 Thread Holger Prause
- Original Message - From: "Massimiliano Cuccia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 6:48 PM Subject: PDF in a JSP ... searching alternative way > I want to produce a pdf in a jsp, so I have a string fo that contains the fo > instructions ... > I ha