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!

Download BLOB file with button.

2637880May 19 2014 — edited May 19 2014

Hi,

I am trying to create a file download page in using JDeveloper 10g. Here is my scenario:

  • Files are stored on middle tier NOT in a database.
  • I am using a ViewObject where I insert Rows which contain the BLOB File. I also insert a row which contains a button next to each file.
  • The Files are acquired by using File.listFiles() to get an array of files in the directory and then converted into BlobDomain.


How can I set up some code so that the each download button triggers a download of the file?

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2014
Added on May 19 2014
6 comments
658 views