Adding MIME types to JBOSS
by, 11-01-2011 at 06:51 PM (5389 Views)
Consider that you have an application deployed on JBOSS application server. You offer different files in your application that can be opened or downloaded. But someone complains that the web application shows code of the file imbedded in the web page instead of opening or downloading it. What problem can there be?
Actually you have to tell your JBOSS application server of the supported files. For this, you need to add an entry in web.xml. For instance:
Hope this helps.