Hello,
I have a file in
C:\tomcat\tomcat-4-1\webapps\test\WEB-INF\storage\dataindex.tbl
I am trying to delete it using new (File(filepath)).delete(); without successing. I have to manually shutdown
Tomcat, and delete the file, if I didn't shutdown Tomcat, windows 2k will display "sharing violation" message.
What can I do to delete the file smoothly?
Any help is appreciated, Thanks.