Damn, too slow!


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 03 November 2003 14:51
To: Tomcat Users List
Subject: RE: Content Type



Howdy,
Add the content-disposition:attachment header.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Duncan [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 03, 2003 9:48 AM
>To: [EMAIL PROTECTED]
>Subject: Content Type
>
>I have a file running as a jsp but with a differant extension (.pms).
>When a user requests this file in IE/Netscape. I want it to download as
>a file rather than being opened as text by the browser.
>
>I have tried adding:
>response.setContentType("application/octet-stream");
>but this only seems to work some of the time.
>
>Anyone any ideas?
>
>Duncan Smith
>Decker Telecom Ltd
>
>
>---------------------------------------------------------------------
>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]


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - 
powered by MessageLabs. For further information visit http://www.mci.com

NOTE: The information in this email is confidential. If you are not the
intended recipient, you must not read, use or disseminate this information. Although 
this email and any attachments are believed to be free of any virus, or any other 
defect which affect any computer or IT system into which they are received and opened, 
it is the responsibility of the recipient to ensure that they are virus free and no 
responsibility is accepted by London City Airport for any loss or damage rising in any 
way from receipt or use thereof. The contents of this message including any 
attachments does not necessarily reflect the view of London City Airport, unless 
expressly stated to the contrary the message is the work of a sender acting as an 
individual.

www.londoncityairport.com 
____________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - 
powered by MessageLabs. For further information visit http://www.mci.com

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

Reply via email to