This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Working with Tree View in Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Working with Tree View in Jsp" Watch "Working with Tree View in Jsp" New topic
Author

Working with Tree View in Jsp

Anurag Dhiman
Greenhorn

Joined: Feb 10, 2012
Posts: 27
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

Joined: Jan 10, 2002
Posts: 60785
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 146

You can use DynaTree or JsTree


hate Professionalism
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Working with Tree View in Jsp
 
Similar Threads
Suggestion required- struts 2
Problem in refreshing the data..
TreeView in JSP ?
Struts 2.1.6: keeping information in the same div - using tree node
JSP Treeview