• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Excel file not opening in Tomcat 4.1.29

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using tomcat 4.1.29.When i try to open an excel file from browser it is showing like a text file.Word files are opening properly.I have seen someone posted the same problem in Tomcat forum but i am unable to find the solution for it.Someone please help me on this..
Thanks in Advance.

Regards
Vasudevan
[ January 12, 2004: Message edited by: Vasudevan Gopalan ]
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please find some other means rather than sticking to 4.1.29.
bye..
cheers.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. is your browser configured to treat xls files by opening excel?
2. does your web.xml file in the ../conf directory have an entry in the mime-mapping list for "xls" file type? Mine doesn't - so I can't tell you exactly what to use.
Bill
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey all. I just wanted to post an update to this thread because I had the same problem recently and had a hard time finding any information about it anywhere on the web.

I modified my web.xml file to add a mime-mapping element for xls extensions with a mime type of application/msexcel.

I restarted Tomcat and it works great.

Thanks to you all for your assistance.
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic