I need to display a tree in a JSP . This is to achieve Explorer kind of look. The depth and structure of the tree is known only at runtime. My requirement does not allow me to use an Applet here. So JTree is ruled out.
Does any body know of any solution?
-
Tree Control + JSP (8 messages)
- Posted by: Raghuram Sripada
- Posted on: August 24 2000 11:21 EDT
Threaded Messages (8)
- Tree Control + JSP by Uday Kumar on August 24 2000 20:04 EDT
- Tree Control + JSP by Ekta Agarwal on September 01 2000 07:25 EDT
- Tree Control + JSP by Raghuram Sripada on September 01 2000 14:53 EDT
- Tree Control + JSP by Vijay Reddy on September 05 2000 11:41 EDT
- Tree Control + JSP by jawad hussain on October 15 2000 09:38 EDT
- Tree Control + JSP by jawad hussain on October 15 2000 09:44 EDT
- Tree Controls by null on January 12 2005 18:11 EST
- Tree code in jsp with javascript by susi oberai on April 17 2007 02:46 EDT
-
Tree Control + JSP[ Go to top ]
- Posted by: Uday Kumar
- Posted on: August 24 2000 20:04 EDT
- in response to Raghuram Sripada
hello Raghu,
Since you have ruled out Java on the Browser, one alternative would be to use DHTML. Thus the JSP will use one of its beans to determine the depth of the tree and then use DHTML layers to show and hide the nodes. But I am not sure how many layers deep you can go when you use this technique.
Thanks
-U -
Tree Control + JSP[ Go to top ]
- Posted by: Ekta Agarwal
- Posted on: September 01 2000 07:25 EDT
- in response to Raghuram Sripada
why don't u try to use xml and give it the xml tree look? -
Tree Control + JSP[ Go to top ]
- Posted by: Raghuram Sripada
- Posted on: September 01 2000 14:53 EDT
- in response to Ekta Agarwal
Hi Ekta,
Can you give some more details ?
Let us assume that the leaves contain URLs (hidden) and clicking on a leaf may have to trigger an action. In this scenario, how can I use XML? I am open to any idea.
Right now, I wrote a bean, a method in it contains the logic to traverse a DOM Tree and to generate the javascript (strings) required to show a tree.
-
Tree Control + JSP[ Go to top ]
- Posted by: Vijay Reddy
- Posted on: September 05 2000 11:41 EDT
- in response to Raghuram Sripada
Hi Raghuram.
Here is a thought.
I had a similar requirement. I used Javascript for that effect. Whenever the user explores the <code>tree</code>, I get that next level of the tree and render the new nodes under the explored node. I made extensive use of HTML blocks (DIVs, Layers). If you plan to use this approach, you may have to take care of the differences between IE and NS.
Hope that helps.
Vijay
(avpreddy at yahoo dot com) -
Tree Control + JSP[ Go to top ]
- Posted by: jawad hussain
- Posted on: October 15 2000 09:38 EDT
- in response to Vijay Reddy
Hi...
Well i have a same problem as the one discribed there.
SO can u help me in finding any source of such kind where a tree is interacting with DB & getting its subnodes.
The tree is been load in JSP & should also have popupmenus on right click of the mouse.
As u have said that u have a similar appliacation with u ..can u share that or help us in any suitable way?
Regards Jawad -
Tree Control + JSP[ Go to top ]
- Posted by: jawad hussain
- Posted on: October 15 2000 09:44 EDT
- in response to Vijay Reddy
Hi...
Well i have a same problem as the one discribed there.
SO can u help me in finding any source of such kind where a tree is interacting with DB & getting its subnodes.
The tree is been load in JSP & should also have popupmenus on right click of the mouse.
As u have said that u have a similar appliacation with u ..can u share that or help us in any suitable way?
Regards Jawad -
Tree Controls[ Go to top ]
- Posted by: null
- Posted on: January 12 2005 18:11 EST
- in response to Raghuram Sripada
Try some of the vendors who supplu tree controls. Here is a list of them from my bookmarks:
http://www.common-controls.com/en/products/guided_tour/treecontrol/index.html
http://www.treemenu.net/treemenu/demos.asp
http://webfx.eae.net/dhtml/xtree/
Hope this helps.
Venkatt Guhesan -
Tree code in jsp with javascript[ Go to top ]
- Posted by: susi oberai
- Posted on: April 17 2007 02:46 EDT
- in response to Raghuram Sripada
I made tree in jsp with the help of javascript. i have posted code to http://easywayserver.com/forum/viewtopic.php?t=41 there is only problem left only that is minor problem. That is connection close. If any one do it plz inform me thank you