Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Files To Display in Jsp As TreeView

 
venu v gopal v
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic