Re: AW: PDF display over net

2003-06-13 Thread Jeremias Maerki
Something along these lines: File tempPDF = File.createTempFile(temp, .tmp); OutputStream out = new java.io.FileOutputStream(tempPDF); out = new BufferedOutputStream(out); try { driver.setOutputStream(out); [..] finally { out.close(); } Sometime later: tempPDF.delete(); or:

PDF display over net

2003-06-12 Thread patrick . mannhart
Hi @all I've embedded fop in my application and generate a PDF. I don't want to safe the PDF on a local drive or DB. How can I display de PDF to the user when it's finished automatically with Adobe Reader? thanks a lot for help patrick

Re: PDF display over net

2003-06-12 Thread Jeremias Maerki
All locally on a workstation and without saving the file to a file? Only using a Servlet (the one from FOP for example): - Instead of generating the PDF you generate a URL. - The URL is executed using Runtime.getRuntime().exec() - This starts your browser (hopefully) - the browser calls the

Re: PDF display over net

2003-06-12 Thread Clay Leeds
On 12.06.2003 16:27:16 patrick.mannhart wrote: I've embedded fop in my application and generate a PDF. I don't want to safe the PDF on a local drive or DB. How can I display de PDF to the user when it's finished automatically with Adobe Reader? Jeremias Maerki Would it be better to

Re: PDF display over net

2003-06-12 Thread Jeremias Maerki
Sure, easier at any rate. But if he says, he doesn't want the PDF on the local drive.. On 12.06.2003 18:12:50 Clay Leeds wrote: On 12.06.2003 16:27:16 patrick.mannhart wrote: I've embedded fop in my application and generate a PDF. I don't want to safe the PDF on a local drive or DB.

AW: PDF display over net

2003-06-12 Thread Patrick Mannhart
do this? StreamWriter and path? thanks a lot patrick -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. Juni 2003 18:13 An: [EMAIL PROTECTED] Betreff: Re: PDF display over net On 12.06.2003 16:27:16 patrick.mannhart wrote: I've embedded fop