This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JSP and the fly likes How to Convert HTML Content to PDF through Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to Convert HTML Content to PDF through Java" Watch "How to Convert HTML Content to PDF through Java" New topic
Author

How to Convert HTML Content to PDF through Java

Anurag Pathak
Greenhorn

Joined: Jun 08, 2009
Posts: 23
Hi All,

This is Anurag Pathak.

I wanted to know that is there any way to convert HTML Code contaning tables to PDF using Java Code.

Please give me sample code example.

Loooking forward for earliest reply.

Regards

Anurag

pathak_arg@yahoo.com
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
If running OpenOffice in server mode is an option, then the JODConverter library can do that.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Convert HTML Content to PDF through Java
 
It's not a secret anymore!