aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Files To Display in Jsp As TreeView" Watch "Files To Display in Jsp As TreeView" New topic

Files To Display in Jsp As TreeView

venu v gopal v

Joined: Apr 26, 2010
Posts: 6

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

Joined: Oct 14, 2005
Posts: 18121

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.
I agree. Here's the link:
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?