File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Files To Display in Jsp As TreeView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Files To Display in Jsp As TreeView" Watch "Files To Display in Jsp As TreeView" New topic
Author

Files To Display in Jsp As TreeView

venu v gopal v
Greenhorn

Joined: Apr 26, 2010
Posts: 6
Hi,

I want to display the files which are in a particular folder on my jsp in a Tree structure. I am able to get the file names and paths.
From here i don't know how to proceed to do this.

can any one help me on this.

Thanks in advance.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Since you're asking about the display of JSP, you should know that you are asking about HTML. That's because a JSP is a tool for generating HTML.

So find the answer to how to get a tree display in HTML, and then write a JSP which generates that HTML. And remember that you can use Javascript in your HTML.
 
jQuery in Action, 2nd edition
 
subject: Files To Display in Jsp As TreeView
 
Similar Threads
a decade of "keep the code out of the jsp"
Can a servlet include jsp files?
retrive files in a directory
Using Eclipse
senRedirect how to diferntiate in the different jsp file?