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!

show byte array in adf

managed BEANMar 13 2018 — edited Apr 3 2018

Hello,

I am using jdev 12.2.1.2, and have an application(client) consuming restful webservices (which is also another application i developed).

I am returning an object to the client application that contains the byteArray(File) and would like to display it as these examples: Show uploaded file (pdf/text/html/xml/image) content on page -Oracle ADF – Ashish Awasthi's Blog (Jdev/ADF) , ADF 11g : Show PDF in a Popup , but they use a existing file in some path, which is not my case, i only have the byte array returning object.

How can i show the File (byteArray) in a <af:inlineFrame> (for what i saw i have to use servlet, i´m fine with that)?

The service is returning the byte array object (tested with postman. screen shot below) correctly (it looks like it).

pastedImage_6.png

Thanks,

Carlos

This post has been answered by managed BEAN on Apr 3 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2018
Added on Mar 13 2018
17 comments
1,545 views