In one of the project we want to display a file system as a Tree in JSP so that the user can view the complete file structure as and when he wishes. The complete content is not know as this structure comes from DB. only when the user demands the data (clicking to open the tree) that particular data will be displayed. i.e
|___ Sub Folder
|___ folder 1
|___ // from here data comes from DB not sure how many children can be there
|___ folder 2
|___ folder 3
Also Please note on click on any of the child I need to send the complete path for querying so the tree tag lib must faclitate these operations.
So please suggest me some good example which will help me in achieving the above requirement.