Wouldn't you just have a URL link to the actual files in your HTML? The browser should be smart enough to open up the appropriate application and display it, since it will recognize its extension/mime-type.
bruno
-----Original Message-----
From: ext Vitor Buitoni [mailto:vitor.buitoni@(protected)]
Sent: Monday, January 12, 2004 10:07 AM
To: Tomcat Users List
Subject: Re: How to serve static EXCEL or POWERPOINT files from Tomcat ?
Hi,
Probably your browser is misconfigured. I don't think this is a tomcat
issue.
Check the file type associations in your browser and make sure that xls
files are configured to be opened by msexcel.
Also check the .doc file association, if it is opening properly, it
should be configured to be opened by msword.
Vitor
Enrique MARTIN wrote:
>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.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)