what should be the response content type for excel file

I am working in a jsf+ JBoss gatein based project. In one UI we have a download option as pdf and excel. In response for pdf , set content type as "application/pdf" , working fine .For excel I set it as "application/vnd.ms-excels" .It is working with MS excel. Is it enough for Open office and other spread-sheets?.Or is there any other generalized content type available? (I have tried "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" but didnt work with MS-excel)


application / vnd.ms-excel适用于excel和开放式办公室。

链接地址: http://www.djcxy.com/p/8208.html

上一篇: 如何在Safari中下载excel文件

下一篇: 什么应该是Excel文件的响应内容类型