You should create some sort of view (in JSP) where user can browse the whole web folder structure something like this
with some buttons on the bottom (I cut that off image would be to big)
Then let the user mark the file/folders for deleting. User hit the delete button, JSP send names of selected files for deletion together with current folder level to servlet, servlet does his deleting job and returns updated view in JSP of current folder level with some notifications message such as "file deleted", "unable to delete"
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
Offline 6,656 posts
since Dec 2004