here's the task i'm trying to accomplish.. how to read directories and files with
JSP I need to write a JSP page that will check for new folders and if there is a new folder, then it will save that new folder name to a database. Then it will read the subfolders in that main folder and save those names to a database, and then it will read all the files in the subfolders (image files) and save those filenames to a database.
for example, someone could ftp a folder full of .jpg images, subdivided into a few subfolders, and then go to a jsp that gathers all the data from this new folder.
Is this possible in jsp?