wood burning stoves 2.0*
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
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.
 
 
subject: tree structured menu is desired