----------------------------------------------------------------
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!!!
----------------------------------------------------------------
>Simply set the content type to "foo/stuff" or anything for that matter.
>You'll confuse the browser and it'll prompt you to d/l the file.
One day you do that, next day m*s* defines a new "standard".
I suggest using
application/octet-stream
that means:
Don't interpret bytes, just save them ...
>
>You can also specify the filename that you want the gif saved as in the
>extended path info (i believe) in the url.
>
>Hope this helps...
>
>
>
>-----Original Message-----
>From: John Preston [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, November 02, 1999 9:24 AM
>To: Java Apache Users
>Subject: RE: gif servlet download
>
>
>----------------------------------------------------------------
>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!!!
>----------------------------------------------------------------
>
>Hi,
>
>Does anybody know how I can return a GIF file from JServ
>so that the browser thinks it's I want to save the images and pops up
>a File-Save-As box. When I set the content type to image/gif,
>the browser interprets it as a image file and displays it.
>
>I want to download it and save it.
>
>John
>
>P.S. I'm using JServ 1.0b1, Redhat 6.0, Apache 1.3.9
>
>
>
>--
>--------------------------------------------------------------
>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]
>
>
>--
>--------------------------------------------------------------
>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]
>
Ciao,
Carsten Heyl
Carsten Heyl [EMAIL PROTECTED]
NADS - Solutions on Nets http://www.nads.de/
NADS GmbH http://www.pixelboxx.de/
Hildebrandtstr. 4E Tel.: +49 211 933 02-90
D-40215 Duesseldorf Fax.: +49 211 933 02-93
--
--------------------------------------------------------------
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]