This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Java: HTML To PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Java: HTML To PDF" Watch "Java: HTML To PDF" New topic
Author

Java: HTML To PDF

Nit Kul
Greenhorn

Joined: Oct 26, 2009
Posts: 14
Hi


I know how to convert HTML to PDF using FOP implementation.
This process is very hard and sometimes if the DOM object created is too big, the response timeout occurs.

I would like to know if there is a simpler APIs where a java application can pick up the HTML and convert it to PDF?

- Nitin
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Flying Saucer is really good for CSS-styled XHTML.

By the way, how did you get FOP to work with HTML? I was under the impression that it needed XML.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java: HTML To PDF