File deletion---not working

2001-02-28 Thread matteo belloni
I have the same problem. I have created a servlet that delete a file and rewrite this. But Tomcat keep this file in memory and when I write the file the information is appended (the file isn't deleted) I've seen in the archive mailing list but i've found the response How can I solve this?

Re: File Deletion----not working

2001-01-19 Thread Denis Haskin
Gee... where do I start? Does the username this is running under have the proper access to the file and to the direcory it's in? What OS is this? What's the result of f.canRead() or f.canWrite()? What about results of those calls for the parent directory? What does f.delete() return (does it

Re: File Deletion----not working

2001-01-19 Thread Nagappan A
Hello, Contact Narayanan [EMAIL PROTECTED]. He will give U solution. - Original Message - From: Deepak C S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 19, 2001 8:31 PM Subject: File Deletionnot working hi, I am

File Deletion----not working

2001-01-19 Thread Deepak C S
hi, I am trying to delete a file under filesystem in a bean using: File f=new File(path-to-file); f.delete(); But the File isnt getting deleted...Can anybody help?? thanx Deeps - To