java - Pdf viewer in browser -


what libraries can used display pdf viewer in browser using java?

i have tried using gdocumentviewer(jquery solution) seems work pdf urls. cannot use url pdf in case since pdf file stored in location under c:/tmp/pdffiles , not under webcontent directory.

use an iframe. instead of pointing pdf url (that don't have), make pointing action url.

from within action, read file , return content inputstream using stream result.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -