Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converting java to pdf

 
vik
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have a java application that genereated reports using jsp..
i want a link in the web page to convert the report into a
pdf document. is there any existing utility so that
i can directly call it from my application which will create a pdf so
that i dont have to change my code a lot as there are lot of reports for which i want to implement this functionality.
can anybody help me out with this..
thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64633
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"vik jsp",
We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
Forum Bartender
 
brad balmer
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are many different options to do this, depending on how much you want to spend (0 -> thousands).
One of the easiest ways (not FREE) is using a filter written by big.faceless
big.faceless.org. It converts a jsp/xml into a PDF.
Free ones are jasper, iText, ......
Search sourceforge for a full listing.
 
S Santosh Kumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try iText.jar from www.lowagie.com
It's free and very easy to use with lots of good examples ..
 
vik
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks you all for ur help
i will look into iText..
 
Winston Smith
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FDFToolkit is a nice option if you're dealing with dynamic reports/forms. It allows you to build pdf form templates then import data dynamically via the web. We use this to show evaluation reports for employees online.
WS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic