Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Working with Tree View in Jsp

 
Anurag Dhiman
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All !!

I am working on a web application using JSP/Servlet. I divided the jsp page in two divisions. In one div it is showing a tree view (Tree View is created using jquery and contains list of Labels ) with different locations and sub locations. Now my requirement is two display the data from database in the second div. The data will be displayed according to our selection from tree view options.

Please give me some idea how can do it.




Thanks & Regards


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65220
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably not with JSP unless you want to repaint the whole page every time something is selected. I'd use Ajax (the jQuery load() method to be exact) to fetch and display the information.
 
Arun Giridhar
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use DynaTree or JsTree
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic