• Post Reply Bookmark Topic Watch Topic
  • New Topic

I want to extract PDF from folder and display them in html table in browser

 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have folder which contains PDF and i want to show them in html table in the web browser using JSP
 
Haris Mirani
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java iText API is the solution to your question.
 
Swastik Dey
Rancher
Posts: 1674
7
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need some libraries like iText to process pdf files.
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kindly provide me the Code , it will be helpful
 
Haris Mirani
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try these examples from iText website:

http://itextpdf.com/examples/iia.php?id=12
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not clear to me what you're asking. Do you want to show an HTML page containing a table that has one cell for file, maybe containing a download link? Or should that table contain content from within any of those PDF files? Either way, I don't see how iText could help with that.

Priyanka Dande wrote:Kindly provide me the Code , it will be helpful

That's not how CodeRanch works. We don't write code for people, we help people to write the code for themselves.
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply yes i want to show html page containing a table that has one cell for downloading a file, don't provide the complete code but atleast give me the idea how should i write the same ? is it possible using JSP and oracle database table? kindly help
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Priyanka Dande wrote:is it possible using JSP and oracle database table?


That's never the right question to ask. The question to ask is: can it be done with HTML? Because all JSP is, is a way to create the HTML.

So the first step is to determine what is possible via HTML, and to design the HTML to do it. The JSP and database are just the means to generate that HTML once you've designed it.
 
Swastik Dey
Rancher
Posts: 1674
7
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Priyanka, does that mean you want a hyperlink to the pdf file, and when the link is clicked the pdf opens in browser?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!