Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does mime-mapping work

Status
Not open for further replies.

tctstefan

Programmer
Nov 24, 2006
2
SE
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top