Possible Duplicate:
Using itext to convert HTML to PDF
Assume that I have a String which has the contents in html format. Now i need to generate the pdf out of it just as it would render in the browser.
Can someone please throw some light on this requirement?