thanks, worked well to one point: the mime-type is added with a charset parameter which is even iso-8859-1 although everything in my environment is set to be utf-8. Do I have a way to remove that charset for such downloads? That would be the most sensible one. thanks in advance paul Le 28-déc.-08 à 13:40, Sergiu Dumitriu a écrit :
can someone explain me what is the strategy to define the mime-type of an attachment? I see not configurable map nor any setter on the attachment types. Is there any way I can enrich this or is it simply taking over the mime-type provided the browser (which, too often, ends up being application/octet-stream) ?
In web.xml. Search for css, and do something similar for your mimetypes. Of course, restart the server afterwards.