This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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


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
Sheriff

Joined: Oct 14, 2005
Posts: 19434
    
  10

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: 62488
    
  68

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: 62488
    
  68

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: 19968
    
  25

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 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: showing database value in tree view format