Display byte array content of PDF /TIFF on JSP
843840Sep 22 2009 — edited Sep 22 2009Hello all,
I am working on a web service application. We receive a byte arrays of PDF or TIFF document from web service and need to display them on client's browser. Could anyone help us with the following 2 questions?:
1. Is there any way that we can display PDF/TIFF documents using the byte array directly, i.e. don't need to write byte array to local file system and display the local file.
2. Is there any way we can embed PDF document inside a JSP page having other components. I.e. we don't want to display PDF file in a separate window but want to include it in a page and inside that page, we also want to have other controls like text fields, buttons, etc.
Thanks,
ha_pb