Re: RES: Problems downloading files. How to identify the CANCEL b utto n?

2009-07-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Siomara, On 7/11/2009 10:31 PM, siom...@portosdobrasil.gov.br wrote: > Filef= new File(filename); > response.setContentType( (mimetype != null) ? mimetype : > "application/octet-stream" ); If the content type

RE: RES: Problems downloading files. How to identify the CANCEL b utto n?

2009-07-11 Thread siomara
Sure: package servlets.comum; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import comum.ArquivoGestor; /** * Definition of class DownloadFile. */ public class DownloadFile extends HttpServlet { private String original_filename = "MYFILE.txt"; private String