Using tomcat v5.0.16. I have files with a certain extension that gets served as html. I wan't them served as binary so I've added to web.xml:
<mime-mapping>
<extension>apt</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
However they still show up in the browser as text. How come? Is the mime-mapping broken or what?
<mime-mapping>
<extension>apt</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
However they still show up in the browser as text. How come? Is the mime-mapping broken or what?