Tomcat has got configurated mime type mappings, but some are missing. Thus added support for them in MetaCatServlet as: File type > MIME type ------------- ---------------- .xml -> "text/xml" .xsd -> "text/xml" .dtd -> "text/plain" .css -> "text/css" directory -> "text/html" other file types -> "application/octet-stream"
Tomcat has got configurated mime type mappings, but some are
missing. Thus added support for them in MetaCatServlet as:
File type
> MIME type-----------------------------
.xml -> "text/xml"
.xsd -> "text/xml"
.dtd -> "text/plain"
.css -> "text/css"
directory -> "text/html"
other file types -> "application/octet-stream"