tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Haskin" <>
Subject Re: File Deletion----not working
Date Fri, 19 Jan 2001 15:39:52 GMT
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 return true,
meaning it thinks the file was deleted)?


Deepak C S wrote:

> 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 unsubscribe, e-mail:
> For additional commands, email:

View raw message