Hello,
    Contact this 2 mailto:[EMAIL PROTECTED] He, has done this.
----- Original Message -----
From: cga <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 10:13 AM
Subject: default file name in download


> Hi there,
>
>     I am doing a servlet that presents the output in two flawors. The
first
> one is a html page, I use a jsp.
>     The second one is a downloable file which I generate throught a jsp.
> Changing the content-type is easy. But I would like to give the file a
> download name. I mean, when the user clicks on the save button he would
have
> a default name that I will give. I mean, something like 'usefuldata.dat'
> instead of 'MyServlet'.
>     Does anybody knows how to do it?
>
> Thanks in advance,
>
> Carlos Gaston Alvarez
>
Regards
Nagappan


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

Reply via email to