Solved

How do I convert a html page to a pdf document using Java

Posted on 2007-11-15
3
233 Views
Last Modified: 2013-11-24
Hi,

I have a html document which is being rendered by a JSP which is basically a report and can get lengthy. Is there a Java library would help me convert this page into a pdf document which can be served via any browser? I checked out iText but they confess it does not work well with JSP's and has some performance issues but is pretty good with servlets and on low traffic sites. I am looking an open source product. Please advice.

Thanks,
chintaps
0
Comment
Question by:chintaps
3 Comments
 
LVL 14

Accepted Solution

by:
cezarF earned 250 total points
ID: 20294830
try iText its free..

http://www.lowagie.com/iText/
0
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 250 total points
ID: 20297635
0
 

Author Comment

by:chintaps
ID: 20298706
I already looked at iText and the java world article before I posted this question here. There are couple of tradeoffs with with iText which I already pointed out and when we need to use 3 products (JTidy, Xalan and FOP) which increases the complexity of implementation and maintenance. I was looking for a more graceful solution. Is buying a commercial product my only option?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cygwin - GNU GPL License 1 46
SequenceInputStream example 3 22
servlet and mdb, jms error 1 57
How do I fix this situation in GIT? 2 30
This is about my first experience with programming Arduino.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question