tree « Page « JSP-Servlet Q&A

1. Displaying tree on JSP page

I need to display tree on JSP page. How can I do that? I have following object:

public class Node {
    private Long id;
    private Long ...

2. How to make tree in JSP page.

4. left side of the page is tree. when i click the tree item, the informations about that item will be?

Are the nodes in the tree hyperlinks?? If yes then you should create two frames, create the tree in the left frame, target the hyperlinks to the right frame. Or you can use the onclick event of the tree nodes and dynamically assign the content from the server to a div (which will be the main body of the page where ...