Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help in jsp tree  RSS feed

 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I want to make a jsp page which shows data from a databse in tree format

i.e.
- ICICI
|
|___ child data of HDFC
|
|___ child data of HDFC

+ HDFC
+ HSBC
Something lijke this . all the information will be in database.

On pressing the (+) sign the page should expand and show the related data and on (-) should go back to previous state.
Cuould this be done in JSP page. If so could anyone give me the source code or example on how this can be done.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While you can build the HTML elements that implement the tree in JSP, controlling what happens on the client side (opening and closing the tree elements) is the domain of Javascript.
bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!