Hi All,
I have a image in a frame, I want to save the file by dynamically assigning
it a name.Any ideas? or help is appreciated.
Bye
Srikanth
-Original Message-
From: Joakim Olsson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 30, 2000 2:39 AM
To: [EMAIL PROTECTED]
Subject: Re:
Hi,
you can use
response.setHeader("Content-Disposition", "attachment;
filename=\"MyFile.txt\"")
Regards
Joakim
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
Sent: den 30 november
Hi there,
We have on our site the ability for users to select a document id and it
will return a file for them to save (and later reuse). The document is
created dynamically in memory on the server, and we set the contentType to
application which DOES pop up the "Save As" dialog box on the
If memory serves (its been awhile since I've seen this one come up) make
sure that the desired filename is the very last thing in the url. The
browser will assume this is the filename to use for saving the file.
example: brainopolis.com/download.do/dynamicFile.txt
The save-as window should