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:
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
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
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
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.
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