*
The moose likes JSP and the fly likes i want to build an application in a tree format? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "i want to build an application in a tree format?" Watch "i want to build an application in a tree format?" New topic
Author

i want to build an application in a tree format?

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
i want to build an application in a tree format, which is part of my web application?
for example : windows registry
can anyone suggest me the some ideas?


Abhishek
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41592
    
  55
Are you looking for
  • a tree data structure (client or server?)
  • a tree GUI element in HTML/CSS/JavaScript
  • information on persistently storing tree data
  • or something else?
  • Let us know what you have so far.


    Ping & DNS - my free Android networking tools app
    Abhishek Reddy
    Ranch Hand

    Joined: Mar 28, 2006
    Posts: 259
    thanks for the reply

    It is a web application and has to be done on server side.

    for example:
    the user will select a tree element, based on it the content has to be displayed on the right side.(the content displayed will be retrieved from the database.)
    Abhishek Reddy
    Ranch Hand

    Joined: Mar 28, 2006
    Posts: 259
    thank you Ulf Dittmer for the reply.

    the tree has to be build dynamically, the tree elements will be obtained from the database.
    i.e if the user selects a particular tree element, its sub elements will be retrieved from the database and based on the selected sub element its respective contents will be displayed on the right side.

    can you suggest me some libraries?
    Abhinav Srivastava
    Ranch Hand

    Joined: Nov 19, 2002
    Posts: 349

    html/javascript will do just fine. why do you need a 3rd party library when you can do it yourself!
    William Brogden
    Author and all-around good cowpoke
    Rancher

    Joined: Mar 22, 2000
    Posts: 12769
        
        5
    If this was my problem I would start by making some mock-up plain HTML pages to understand the formatting required to look like what you want.

    Next I might experiment with Javascript to expose/hide the content data.

    Only after understanding the markup required would I start programming JSP.

    Bill
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: i want to build an application in a tree format?