ok. Thanks for your reply. I have 2 options to read pdf files. 1) from document library 2) from some other server
Suppose I have the pdf download link then how can I feed this link to pdf box so that it opens it in my portlet page. On Thu, Sep 13, 2012 at 4:32 PM, <[email protected]> wrote: > Hi Sipin, > > portlet is not able to open file from your local machine. > portlet has access to server files only. > > so you have to make portlet where user can upload some pdf file, then > portlet can process that file (and then use pdfbox) > > > Best regards > Juraj Lonc > > > > > > From: Sipin Verma <[email protected]> > To: [email protected], > Date: 13. 09. 2012 12:56 > Subject: How to use pdfviewer in liferay portlet to see a pdf > > > > Hi , > > My requirement is to open a pdf document from my local machine hard disk > or > from a online available pdf link in my liferay portlet. > I am looking into PDFBox but I am not able to understand how to start. > What > APIs I should use to open a pdf document in my portlet. > > Can anyone help me with some sample code or directions to use pdfviewer > for > opening a pdf in browser. > > *Sipin Verma* > >

