• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Excel file not opening in Tomcat 4.1.29

 
Vasudevan Gopalan
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • 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 ]
 
krishnakittu kanth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please find some other means rather than sticking to 4.1.29.
bye..
cheers.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
 
James Laughlin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic