Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Display pdf pages like in google books in the jsp  RSS feed

 
Bhargav N Balasubrahmanya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a requirement to display pages of a pdf in a jsp initially like a preview with options of going to next/prev pages and the zooming options. The entire functionality is similar to the google books page. Kindly suggest me the approach.
Thanks in advance.

Bhargav
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

The PDF Renderer can render PDFs in a Swing component. It shouldn't be too hard to adapt that to render into one or more images instead. This example shows how to do that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!