File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

folder structure in JSP or in javascript

 
suneel kumar
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
suneel kumar
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic