Matthew Cruickshank wrote:

> You probably already know this, but IE will disregard the url filename
> extension if you use this http header,
>
>       Content-Disposition: inline; filename="something.pdf"
>
> I use this in addition to the ContentType of application/pdf.

So, to implement this in the example servlet that the web page references,
would you suggest the following patch?

After line 137:
            response.setContentType("application/pdf");
Add line 138:
            response.setHeader("Content-Disposition", "inline;
filename=\"something.pdf\"");

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to