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!

How to get Blob value from database and show it to the user

Salman5Nov 20 2013 — edited Nov 25 2013

Hello,

I have a table in the db that contains a Blob data type. in the JSP I have a view that shows the information coming from this table including the Blob data. No problem with the uploading. the problem is:

1. How to show the Blob data as the original file that has been uploaded(i.e .txt, doc. .pdf ect.) .

2. How to give the user the ability to download the file shown in step 1.

Thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2013
Added on Nov 20 2013
4 comments
488 views