How to get pdf from html page
<p>I need to generate pdf documents that gets a lot of data from database to fill contents of document. 
First, i decided to work with Fop, made some xsl template with xml and finally got my pdf... Which was not easy to do.</p>

<p>But it become necessary to fill some contents interactively.. so is there any way to built documents on html/xhtml page with editable fields and eventually generate pdf from that webpage? </p>