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!

Error while opening PDF file downloaded from database Blob column

kanikaFeb 29 2012 — edited Mar 6 2012
Hi All,

I am working on jdev 11.1.1.4.0.
In my use-case I am using filedownload Actionlistner on a link to get the PDF file stored in the database in blob field. These files are being uploaded from other use-case in adf only.
After getting the dialog box to open/save/cancel for the PDF file when i click on open then i am getting an error *'Adobe Reader could not open 'abc.pdf' because it is either not a supported file type*
or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly docoded)' for some files , and to my surprise I am able to open some files.


When I open these PDF files separately from desktop I am able to view the content of each and every file in adobe reader.

I dont know where the problem exactly lies , while uploading/downloading the file . Any ideas/thoughts to resolve this issue?

Thanks
Kanika
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2012
Added on Feb 29 2012
5 comments
3,269 views