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 JSP and the fly likes tree structured menu is desired 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 » Java » JSP
Bookmark "tree structured menu is desired" Watch "tree structured menu is desired" New topic
Author

tree structured menu is desired

divya chamarti
Ranch Hand

Joined: Jul 28, 2006
Posts: 56
hi
can any body tell me that in my jsp pages there are menu listing on left hand side , so i need them to be arranged in a tree structured way to be reprsented over there
so what i need to do for that??
thanks in advance
Divya
Mike Himstead
Ranch Hand

Joined: Apr 12, 2006
Posts: 178
You could just print your menu and indent specific elements by a certain amount (like three blanks per level). Like:

Root
___Folder
___Folder
______Entry
______Entry
___Folder
______Folder

The necessary prerequisite is that the list you print out is properly sorted before that.
 
jQuery in Action, 2nd edition
 
subject: tree structured menu is desired
 
Similar Threads
Mouse click on richfaces:tree
To Eric Pascarello
Custom menu system(s) -- Best design approach ?
Building trees using JavaScript
Menu Display Problem in STRUTS ....