I use ajax to call function from server, it returns byte[] of the pdf. How can I display it in browser in readable form in new window?
I can print out the bytecode in the console, but how can I visualize it in browser? I don't want to download the pdf.
I'm not using PDF.js. I only have JS and JQuery.