File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Can I make JTree like menu in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Can I make JTree like menu in JSP?" Watch "Can I make JTree like menu in JSP?" New topic
Author

Can I make JTree like menu in JSP?

Bhadauria pawan
Greenhorn

Joined: Mar 28, 2010
Posts: 2
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

Joined: Jan 10, 2002
Posts: 60071
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60071
    
  65

Do a search for "JavaScript Tree Control" and you'll find lots of examples.
Bhadauria pawan
Greenhorn

Joined: Mar 28, 2010
Posts: 2
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15290
    
    6

I use jsTree.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I make JTree like menu in JSP?
 
Similar Threads
JTree and horizontal lines
jtree and database
JTree
PopUp Menu for JTree
JTree