File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Tree View Structure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tree View Structure" Watch "Tree View Structure" New topic

Tree View Structure

Nithya Venkatraman
Ranch Hand

Joined: Apr 11, 2004
Posts: 39
I need to develop/ use a tree view. It should be displayed in a jsp page..
The structure will somewhat look like this:

/ | \
/ | \
C1 C2 C3
/ | \ \ / | \
C1a C1b C1c C23a C3a C3b
A child can also have multiple parents
What can be done for this? Can I get the code/ component from somewhere? If not how can this be developed?? Or can I get some screen flow for this?

Nithya<br />SCJP(1.2), SCWCD(1.4)
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
This requires HTML and Javascript. Do do this, you can look here or here. A google search for "Tree menu" and "javascript" will turn up at least a half-dozen more sites with source.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Consider Paul's rocket mass heater.
subject: Tree View Structure
jQuery in Action, 3rd edition