Hi all,
I am coding servlets and i have code that allows the user to download a file by 
clicking on
a URL.The file could be a HTML or a WORD doc.This should work both on IE 5 and 
Netscape 4.7
In IE5.0 when u click on a word.doc url a file dialog box comes up
While i click on a .html file url the file is automatically opened.

Requirement is
---------------
In both the cases i should get the save dialog box
In the save dialog box the file name should be blank so that user is forced to enter 
the
file name.

I am aware that something can be done to populate the file name by using
response.setHeader(Content-Disposition,"inline;filename=actualfilename");
But how do i stop from displaying a file name in the file dialog Box.

Kindly treat it as Urgent and Let me know if u have any information on that.

Regards
Aravind


Aravind Kumar L.N.S
Systems Engineer,
Wipro Technologies,


------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to