I have Derby feeding XML documents into Digester, that creates a bunch of threads that are pushlet publishers and populates a tree of vectors and properties. That all works just fine with hand-made HTML files (I got rid of the JSP from pushlets by using an applet calling JavaScript). Now I need to generate the HTML from that same data tree.
To do this, I need to simply do a getInstance and that will give me a pointer to the root of the tree. The data was already loaded by another servlet that runs at startup of Tomcat. My question is, what is the best way to use Velocity in this context? I need to get the data instance before the template is rendered. Should I use VelocityView and derrive a class from that to get my data, or should I just go straight Velocity and load it with the invoker? Security isn't a consideration here, because this is an embedded application. Also, is there a good web site with Velocity examples? The examples beyond the trivial examples in the distribution? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
