| Author |
Displaying a JSP which has a tree view using Struts !!!
|
s mahen perera
Ranch Hand
Joined: Mar 08, 2005
Posts: 101
|
|
Hi I want to display a folder structure like in Windows Explorer, in a JSP file. The String values to be displayed in the nodes are taken from the DB. Has someone here done a similar thing using Struts. I already have a JavaScript which will display the folder tree. but here I am using a Scriplet to call the Java code which will dynamically return the JavaScript code needed to display the Tree view. However, I want to get rid of this Scriplet code.. and use pure Struts to do this Does Struts have any built in capabilities to help in such a thing, like it has for uploading a file using FormFile. I can clarify more if needed Thanks in advance for any help. Mahen
|
 |
Satish SN
Ranch Hand
Joined: Apr 19, 2005
Posts: 70
|
|
hi mahen i dont think a utility what u r thinking is available in struts u could very well try for a custom tag which gives u tree structure. but i used javascript tree structure in the sturts app long back may be around year back
|
Satish SN<br />SCJP 1.4 & SCWCD 1.4
|
 |
s mahen perera
Ranch Hand
Joined: Mar 08, 2005
Posts: 101
|
|
Thanks Kumar .. I found out a tool check out this http://struts.application-servers.com/doc/tags/treeview.html I guess my problem is solved,, anyway have to see how this works
|
 |
 |
|
|
subject: Displaying a JSP which has a tree view using Struts !!!
|
|
|