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
Post a Comment