HttpServletResponse.setHeader(Content-Disposition,attachment; filename=Report.pdf )
Hello with all! I have a servlet in which I send a PDF to the navigator while writing HttpServletResponse.setContentType(application/pdf ); HttpServletResponse.setHeader(Content-Disposition,attachment; filename=Report.pdf ); And the navigator twice opens the page of download of file. Why? I would like to know if it is about option of configuration of navigator IE and how to use the HttpServletResponse.setHeader(. method correctly.) with good options. Thank you to indicate my problem to me! __ Jianxin KONG ( [EMAIL PROTECTED] ) CHRONOPOST INTERNATIONAL Dir. systèmes d'information
Re: HttpServletResponse.setHeader(Content-Disposition,attachment; filename=Report.pdf )
[EMAIL PROTECTED] wrote: Hello with all! I have a servlet in which I send a PDF to the navigator while writing HttpServletResponse.setContentType(application/pdf ); HttpServletResponse.setHeader(Content-Disposition,attachment; filename=Report.pdf ); And the navigator twice opens the page of download of file. Why? I would like to know if it is about option of configuration of navigator IE and how to use the HttpServletResponse.setHeader(. method correctly.) with good options. See the FAQ at http://xml.apache.org/fop/faq.html#part-N10445 Christian