Solved

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

Posted on 2007-11-15
3
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

717 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