It's not a secret anymore!*
The moose likes Other Open Source Projects and the fly likes Cant delete all files in a directory in servlet in NetBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Cant delete all files in a directory in servlet in NetBeans" Watch "Cant delete all files in a directory in servlet in NetBeans" New topic
Author

Cant delete all files in a directory in servlet in NetBeans

Sarika Sukumaran
Greenhorn

Joined: Oct 20, 2011
Posts: 10
I cant delete all files in a directory. Its a servlet application in NetBeans. Please help me. Its urgent.



I have 29 ".properties" files in folder. But in this loop always at least one file remain non deleted. Hence I cant delete the folder.
 
Don't get me started about those stupid light bulbs.
 
subject: Cant delete all files in a directory in servlet in NetBeans
 
Similar Threads
Unable to delete directory using Java.
Not able to delete xml files after reading
How to delete a directory upon VM exits
Access is Denied with createNewFile() - HELP!
Unable to Delete Folder + I can't belive i m posting this :(