Howdy, Use the content-disposition header: http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Mark W. Webb [mailto:[EMAIL PROTECTED] >Sent: Monday, June 09, 2003 3:34 PM >To: [EMAIL PROTECTED] >Subject: question on creating a file download servlet > >I need to write a servlet that handles file downloads, so that I can audit >who downloaded from where, when..etc. > >When I click on the link to download a file, the "Save As" window comes up >in my browser(Netscape), and as a default filename I get the servlet name. >Is there a way to list the actual filename in the "Save As" window ? > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]