Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Serve a file like pdf dynamically for download

528478Sep 9 2006 — edited Sep 12 2006
Hello 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2006
Added on Sep 9 2006
2 comments
483 views