To answer my own question:

servletContext.getMimeType() does just that it seems :)

-- Edvin

Den 05.05.2011 21:41, skrev Edvin Syse:
> My application is using a custom servlet to deliver files to the
> browser, so I have to set the content-type of the response manually. I'm
> wondering if it's possible to lookup the mime mappings defined in my
> resin configuration somehow so I can use the already defined mime mappings?
>
> -- Edvin
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to