I did a little searching in the Java In General (Advanced) forum and found mention of this: iText It's an open source set of classes that allow you to generate PDF files. There's documentation listed on the site -- you'll have to walk through it and read a bit to figure out how to get it to work. Enjoy!
the xml/xslt alternative would be fop. http://xml.apache.org/fop/index.html In the download you find a servlet example. 2 tutorials and 1 article about using fop, all fresh The tutorials are not specifically about using fop into servlets/jsp, but its easy to integrate both technologies. For performance reasons it some sort of a caching-strategy for the dynamically generatede files might be a good idea, if possible.
subject: How to output/dump JSP data into a pdf file???