File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tree structured menu is desired

 
divya chamarti
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 178
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic