I have a PDF file that's being read through Java and returned as a byte array in a JSON response.
I want to find a way to parse those bytes from the PDF file using:
FileUtil.getFileBytes(fileToRead)
on the client side. Is there any way to render and display the PDF?
I know that I can put the file on a public server, but this may change based on user configuration, so I want to read the PDF on Java side and render the bytes on client side using Javascript or any jQuery plugin.
Any thoughts?