简体   繁体   中英

display file from blob data oracle - Angular/Java

New to Stack Overflow, Pardon if I miss adding any details in the question.

Requirement: I have various types of files (pdf, jpg, HTML, CVS, etc) saved as BLOB data in the oracle. I have an angular component and a REST Service. the task is to retrieve the blob data and send it to the front-end angular component in the rest service response. After getting the response, need to display the file in a new tab or a pop-up window.

Questions: How can I send the blob data in rest service response so that I can convert it to a file and display it in the UI? (Is this possible?)

从 my_table 中选择 dbms_lob.substr(clob_field, 4000, 1);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM