• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

category and sub category

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ranchers,

I want display the following info within jsp file, but I wondering what is the best way to implement it.
Root Category -
|
|- Category 1 -
| |
| |- Forum 4
| |- Forum 5
| |- Forum 6
|
|- Category 2 -
| |
| |- Sub-Category 1 -
| | |
| | |- Forum 7
| | |- Forum 8
| |
| |- Forum 9
| |- Forum 10
|
|- Category 3 -
| |
| |- Sub-Category 2 -
| | |
| | |- Forum 11
| | |- Forum 12
| | |
| |- Forum 15 |- Sub-Category 3 -
| |- Forum 16 |
| |- Forum 13
|- Forum 1 |- Forum 14
|- Forum 2
|- Forum 3
 
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This seems like an HTML question. Have you looked at the <ul> and <ol> tags?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Regardless of where the data comes from, formatting the structure will require HTML and CSS. Moved to the HTML/Javascript forum.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are looking for a tree menu....search google...
reply
    Bookmark Topic Watch Topic
  • New Topic