This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I make JTree like menu in JSP?  RSS feed

 
Bhadauria pawan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,

I want to know is it possible to make tree based menu in JSP and Javascript just like JTree type menu for desktop applications. If any body knows it please throw some light on it. Any help is highly appreciable. Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As all JSP does is to let you create HTML, the question is really can you do this in HTML.

Moved to the HTML forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do a search for "JavaScript Tree Control" and you'll find lots of examples.
 
Bhadauria pawan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i tried it using JSP and javascript but the problem my tree nodes are stored in a database on the server side which i need to delete dynamically and update the tree . Also if i add a node to tree it should add to the tree according to its position in the hierarchy. Now the problem is JSP can communicate to javascript but javascript i.e can't communicate to jsp until a user trigger it.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use jsTree.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!