This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 60774
    
  65

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: 60774
    
  65

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: 19651
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: showing database value in tree view format
 
Similar Threads
how to connect struts1.1 with database ?
richface tree example
components integrated to a DefaultMutableTreeNode are not accessible.
JSP Treeview
Regarding tree in struts