Actually Mozilla and Netscape can open Excel and Powerpoint based upon the
.xls or .ppt extension if the mime-type is not set. However IE only opens
them properly if you add the mime-type to web.xml. Otherwise you get a
browser full of garbled text. I find this most amusing. (They may have fixed
this in IE 6.0).

Charlie

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?
> 
> 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:[EMAIL 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to