This content has been marked as final.
Show 3 replies
-
1. Re: How to config mime-mapping in jboss as 7?
sfcoy Nov 22, 2011 12:56 AM (in response to mlw5415)Why can't you do it in your application's web.xml file? That would seem to be more portable...
-
2. Re: How to config mime-mapping in jboss as 7?
mlw5415 Nov 28, 2011 10:58 PM (in response to sfcoy)Thanks a lot, that is a way.
-
3. Re: How to config mime-mapping in jboss as 7?
parxal Jan 30, 2012 10:47 AM (in response to mlw5415)I can't change web.xml because i really need that mime-mapping works on a file that i have in the root "crossdomain.xml", this file have to stay in the root and not inside the project. Does anyone knows how to add default mime-mappings?
<mime-mapping>
<extension>xml</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>