Can't add an excel mime type in Tomcat web.xml file!
Hello!
I have the following problem: I use Apache Tomcat v5.0.
I've to modify web.xml in order to add support for excel mime type.
After I modify the web.xml from conf folder Tomcat has a very strange behaviour. This is what I did:
- stop Tomcat server
- add the following entry in the xml
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
- restart the server
After that I have noticed that the entry from the xml file was deleted. I have done this for several times and in all cases the mime mapping corresponding to excel files was automaticaly deleted from the web.xml
Is this a Tomcat v5.0 bug?
Can you help me and give me an advice?
Thank you very much
With best regards,
Sorin