Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java: HTML To PDF

 
Nit Kul
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic