Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need an assist with a programming logic math question. 5 64
eclipse shortcuts 9 54
Android development question 2 37
Glassfish admin console not working 1 12
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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 tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

776 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