Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?

Altankov Peter

2004-01-13


They are fixed in 6.0

> -----Original Message-----
> From: Cox, Charlie [mailto:ccox@(protected)]
> Sent: 12 Януари 2004 г. 19:14
> To: 'Tomcat Users List'
> Subject: RE: How to serve static EXCEL or POWERPOINT files
> from Tomcat ?
>
>
> 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: Bruno.Melloni@(protected)]
> > Sent: Monday, January 12, 2004 11:30 AM
> > To: tomcat-user@(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: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)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.