creating a directory explorer in JSP

Hi,

I need to create a directory explorer in my JSP. Basically there are a set of directories and files. I have to show them in a tree view. If new directories/files are created, then the JSP view should get updated dynamically.

I know this amount of java IO is not very efficient, but my client has unique requitements. If someone knows of an easy way to do this, please let me know how.

thanks

[420 byte] By [vivek_kattaa] at [2007-11-27 8:25:18]
# 1
Use yahoo TreeView widget library. It's not complex. Check at yahoo UI library. I have used this. Basically get the request data in a arraylist or hashtable and set it in the session. Then in your jsp get it and loop it to create the tree structure.
skp71a at 2007-7-12 20:14:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...