posted 19 years ago
Well, you are in the JSP forum, which means that hopefully you understand that JSP is a server-side technology, while JavaScript is a client-side technology. Ergo, do you want your "treeview" to change once rendered on a user's browser? If you do, then you will need a client-side technology like JavaScript. You could "refresh" your "treeview" by making further HTTP requests from your server, on which some JSP file would have the job of rendering the tree. So, each time the user clicks a "+" to expand a node, it sends some more info to the server and your JSP file renders it all over again from scratch.
Oh, if you just want it rendered once and that's it, JSP is good. After that there's the issue of browser XML plugins, etc. (Yucky!) So, what exactly would you want this "treeview" of yours to do?
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED