jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes how to delete a File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to delete a File" Watch "how to delete a File" New topic
Author

how to delete a File

Sana Jay
Greenhorn

Joined: Feb 03, 2004
Posts: 26
hello,
I have uploaded a file using FormFile type.Before updating the file field again,i need to delete the old file on the server.
How to go abt this?Is FormFile.delete alright.How do i delete file.

Thanks in advance

regards
Sana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to delete a File