[jboss-user] [Advanced Documentation] - Re: JBoss configuration to allow CAB and MSI files
do-not-reply at jboss.com
Fri Jun 19 13:08:37 EDT 2009
What you mean by "the page attempts to render the file"? To me that means that the server processes the files and attempts to generate HTML based on their contents. If you really mean that, then there must be some mapping in you web.xml file that maps files with those extensions to some servlet.
If, instead, you mean that when clicking on the link the browser attempts to "run" them, and doesn't give the option of saving them, then go to the server/xxx/deploy/jboss-web.deployer/conf/web.xml file. At the end of that file there is a long list of mime mappings. You could add mappings there for msi and cab - using the same mime-type as zip would probably work, or you could google for a more accurate mime type.
Finally, often the choice of running a file rather than allowing you to save it is based on file extension and mime mapping kept within the browser. Check those mappings in your browser.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238824#4238824
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238824
More information about the jboss-user