Also, please do not ask questions in multiple posts... you only need to ask once. In addition, since your question really has to do with how to generate trees in JSP, it doesn't have a lot to do with Swing / JFC / AWT... so I'm moving it to the JSP forum...
Thanks! and welcome to the JavaRanch!
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com