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



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

Reply via email to