Link to home
Start Free TrialLog in
Avatar of chintaps
chintapsFlag for Afghanistan

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of cezarF
cezarF
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chintaps

ASKER

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?