HttpServletResponse.setHeader(Content-Disposition,attachment; filename=Report.pdf )

2002-11-15 Thread j-kong


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 )

2002-11-15 Thread Christian Geisert
[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