[iText-questions] deleting the file

2002-09-30 Thread sundardba
I tried as below try { response.setContentType("application/pdf"); //out.println("First Line"); Document document=null; ByteArrayOutputStream ba =null; document = new Document(); ba = new ByteArrayOutpu

[iText-questions] deleting the file

2002-09-30 Thread sundardba
Thanks bruno Is it possible to send response to the user directly as PdfWriter.getInstance(document, response.getOutputStream()); When I use this I am getting the error as illegal state exception [EMAIL PROTECTED] wrote Quoting [EMAIL PROTECTED]: > I tried this method. After I create the

RE: [iText-questions] deleting the file

2002-09-29 Thread Bruno
Quoting [EMAIL PROTECTED]: > 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. Isn't this what you expected? Contrary to po

RE: [iText-questions] deleting the file

2002-09-29 Thread sundardba
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 > >

RE: [iText-questions] deleting the file

2002-09-29 Thread Craig Earls
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-ques

[iText-questions] deleting the file

2002-09-29 Thread sundardba
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 heav