This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Tree Structure Menu 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 "Tree Structure Menu" Watch "Tree Structure Menu" New topic

Tree Structure Menu

Vishnu Vardhan

Joined: Nov 05, 2003
Posts: 14

I want to create a Menu (left hand side of my page) like a tree structure.
I am not sure how to go about it.

Can anyone help.

A Harry
Ranch Hand

Joined: Jan 23, 2002
Posts: 124
sounds like you need Javascript - google "javascript tree menu" & there's loads!
Vishnu Vardhan

Joined: Nov 05, 2003
Posts: 14
Thanks Harry, but can I use them in a struts (MVC) project.

Durgaprasad Guduguntla
Ranch Hand

Joined: Oct 20, 2003
Posts: 99
Hi Vishnu,
If it is a struts application, you can explore the open source struts tag library. You can generate tree layout easily from java and JSP. Check out here

Thanks,<br />Durgaprasad<br />SCJP1.4, SCWCD1.4, SCBCD1.3,<br />SCEA
Naveen Mishra
Ranch Hand

Joined: Nov 20, 2005
Posts: 75
I found this one really good ... comes from -- what else
just visit

subject: Tree Structure Menu
Similar Threads
collapsable list
Data Structure
Help !Java trees populated by a database
Best List Implementation To Represent An Organization Tree
Building trees using JavaScript