I tried this method. After I create the PDF file I redirect the response to the pDF file created then I create the file Object delete this file, File gets deleted first before redirecting the response to the PDF file.
Thanks Sundar [EMAIL PROTECTED] wrote Well, assuming you have already created the file as a type java.io.File, then use java.io.File.delete(); > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 12:44 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] deleting the file > > > hai All, > > I am creating the PDF file in the server after that I am > sending the PDF file to the user. I want to delete the file > from server. how can I do this. > > thanks > Sundar > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
