Howdy,
Same as any container: add the content-disposition header to your
response.  Google or search this list's archives.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Enrique MARTIN [mailto:[EMAIL PROTECTED]
>Sent: Monday, January 12, 2004 5:58 AM
>To: [EMAIL PROTECTED]
>Subject: How to serve static EXCEL or POWERPOINT files from Tomcat ?
>
>Hi,
>
>I am trying to serve .xls and .ppt files from tomcat so that the
browser
>opens the right application (excel and powerpoint respectively) . What
I
>obtain instead is that the byte content is sent by the web server and
this
>content is then interpreted as text by the browser.
>For the .doc files, on the other hand, I have the desired behavior:
word
>opens.
>
>Does anybody know how to obtain from tomcat this behavior?
>
>Thanks,
>Enrique.



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]

Reply via email to