Serve a file like pdf dynamically for download
528478Sep 9 2006 — edited Sep 12 2006Hello everybody,
this might be a bit of a newbie question but I didn't know where to search for that topic so I'm posting my question here :)
Task is simple: the web client should be able to download a server generated xls/pdf file
Question 1: where do I save the file on the server? In the SRDemo sample (FileUpload) a temp path is definied in web.xml, but I couldn't find the uploaded file on the server so that gave me no lead...
I'm using an Oracle Application Server 10g for deployment.
Question 2: it would be great if I could generate and serve the file in one click, p.e. a af:commandbutton that creates the file and then serves the download.
Thanks for any ideas in advance :-)
Cheers,
Mathias Ringhof