On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

pdf rendition document view in browser by using byte stream and get the file from the BOCS server

In our docbase all the documents are having pdf renditions. We need to open the pdf rendition documents in browser by using byte stream it has to support the ucf and BOCS.That document should come from the nearest BOCS server. Developed servlet by using

ByteArrayInputStream but it was not getting the document from the BOCS server.

Please share your ideas to get the pdf rendition document from BOCS servers by using byte stream and it has to open in the browser.

Thanks,