File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes dynamic tree structure with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dynamic tree structure with struts" Watch "dynamic tree structure with struts" New topic

dynamic tree structure with struts

naren ramanujam

Joined: Jun 14, 2006
Posts: 7
My need is treestructure to be created dynamically.

can any one plz. help me
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I use hierarchical trees a lot in my applications. The way I do it is to start with an existing JavaScript tree package such as TreeMenu. When I want to create a tree structure to be displayed, I write Java code that will generate the JavaScript code necessary to build the tree using my dynamic data. I just call the JavaScript APIs of the tree package I'm using.

There are a lot of free or nearly free JavaScript tree packages out there. Just Google "JavaScript tree" and you'll see a lot of them.

Consultant, Sima Solutions
subject: dynamic tree structure with struts
Similar Threads
Resetting Values
WA #1.....word association
Dynamic SQL with JDBC
Loading JSPs on Application server startup
IDL: java "not found" but it's there!