• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

PDF Viewer

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

i wanted to develop a pdf viewer in jsp to view the images and files in the pdf.
Can anyone guide me how it can be done..


Thanks in advance
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
first of all, please look at these APIs. 1. apache pdfbox; 2. icepdf; 3. adobe pdf library

Chose one of the APIs, in accordance with your selection, develop a business logic.

Cheers,
Oleg.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As others have eluded, how a user views a PDF is a personal choice. If your application just serves the PDF, the client's browser will provide the file to the user in the way the user wants it.

If you try to force your design on the user, you're likely to just make your users angry.

Best Regards,
 
You get good luck from rubbing the belly of a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic