Why can't you do it in your application's web.xml file? That would seem to be more portable...
Thanks a lot, that is a way.
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?