> Hello, I have this weird problem. > > I want to get tomcat to correctly set the mime type for xls files. So > I added > > <mime-mapping> > <extension>xls</extension> > <mime-type>application/vnd.ms-excel</mime-type> > </mime-mapping> > > To the conf/web.xml file. > > The odd thing is that wen I access an xls file using the browser with > the following url: > http:/localhost/filename.xls it works fine. > > When I use > http:/servname.com/filename.xls it doesn't. I just get the binary > contents of the file. > > Did anyone else have this problem? I something set up incorrectly? > > Regards, > > Vincent > --------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------