permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes folder structure in JSP or in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "folder structure in JSP or in javascript" Watch "folder structure in JSP or in javascript" New topic
Author

folder structure in JSP or in javascript

suneel kumar
Ranch Hand

Joined: Jan 08, 2007
Posts: 46
HI,
In my application i need to display all the files there in one folder in tree structure.
Can any one suggest me how to do that one. please expaline with the code either in javascript or in java.

Thanks in advance
Suneel
li bei
Greenhorn

Joined: Jul 22, 2007
Posts: 20
If you want to display a tree structure in the browser, maybe javascript is needed. There are many ready-made, usable javascript tree like DTree . You can google it.
use java code to load the dirs and files, then generate javascript code


I am sorry that my English is poor.If there is something wrong with my words,please tell me .Thank you very much.
suneel kumar
Ranch Hand

Joined: Jan 08, 2007
Posts: 46
thanks li i got some idea on DTree ...
but i need one simple example which loads all the files in folder and display as tree.

can you send me the code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: folder structure in JSP or in javascript
 
Similar Threads
Need help in Tree structure...
Tree in Applet
create a java project using an existing jar file.
Javascript files in Tomcat
NetBeans 6.8 and JavaScript libraries