wood burning stoves*
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 Java 8 in Action this week in the Java 8 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: 39576
    
  27
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 - updated with new look and Ping home screen widget
    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: 12682
        
        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


    Java Resources at www.wbrogden.com
     
     
    subject: i want to build an application in a tree format?
     
    Similar Threads
    Simple question for XML Gurus
    converting XML data to JTextPane Styled format
    How to create tree view in jsp
    flex tree with checkbox
    invokeAndWait()/invokeLater() ??