my dog learned polymorphism*
The moose likes Beginning Java and the fly likes showing database value in tree view 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 » Beginning Java
Bookmark "showing database value in tree view format" Watch "showing database value in tree view format" New topic
Author

showing database value in tree view format

bala manian
Ranch Hand

Joined: Nov 05, 2007
Posts: 40
hi frds,

i need great help from you guys..can you please share code or link for showing database value in tree view format.i can use jsp or servlet or Ajax or java xml.urgently needed.
thanks in advance.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

What kind of "tree view" format are you talking about? A Swing JTree? Something in the browser? Something else?

And suppose I get 42 as my database value, how does it make any sense to display that in a "tree view"?
bala manian
Ranch Hand

Joined: Nov 05, 2007
Posts: 40
Thanks Paul for quick reply.
i want to display database value in web based application.
ex:
animals
---legs
-----4legs
--------cow
--------sheep
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

JavaScript Tree Control


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
bala manian
Ranch Hand

Joined: Nov 05, 2007
Posts: 40
thanks bear.it wil greatful if its in java or using ajax.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Java isn't going to help you unless you want to use an applet.
bala manian
Ranch Hand

Joined: Nov 05, 2007
Posts: 40
Am not allowed to use applet in my application.any other suggestion please?.waiting for replies...
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19679
    
  18

I'll repeat Bear's post:
Bear Bibeault wrote:JavaScript Tree Control

I've used dtree myself once, it's pretty good.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: showing database value in tree view format