----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Doug Hathaway wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> I'm currently using a servlet to download files that are in a restricted area
> on my Web site. This process works fine for Netscape, the Save Dialog box
> appears correctly and the file name I placed in the Content-Disposition is
> displayed in the dialog appropriately. However, with IE5 I get a Save/Open
> Dialog that has my URL Path and Query String Information from the original
> request. If I chose to open the file I get presented with another Save/Open
> dialog but this time the appropriate file name that I used in the
> Content-Disposition is displayed.
>
> If anyone has any ideas I would appreciate it.
Just set the file name by using this header:
Content-Disposition: inline; filename="myfile.ext"
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Twelve Horses Ltd. Martin Kuba
66 Lwr. Baggot St. e-mail: [EMAIL PROTECTED]
Dublin 2 WWW: http://www.12horses.com/~makub/
IRELAND tel: +353-1-2402504
------------------------------------------------------------
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]