This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
Consider Paul's rocket mass heater.
 
subject: how to delete a File