This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Are you asking how to convert the PDF into HTML so that it can be part of a JSP page? Normally a web app would just provide a link to the PDF, and then the user/browser would determine what to do with it.
As an aside, what do you mean by "view the ... files in the pdf"? PDFs can contain images, but not arbitrary files.