Solved

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

Posted on 2007-11-15
3
230 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is about my first experience with programming Arduino.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now