struts配置导出表格
程序员文章站
2022-05-29 20:03:56
...
公司的老系统,用的struts,遇到文件导出,正好留下配置
<action name="query" class="com.ailk.ecs.ssp.action.mobilecancel.MobileCancelAction" method="getTenMobileCancelData">
<result name="success" type="stream">
<param name="contentType">application/vnd.ms-excel;charset=ISO8859-1</param>
<param name="contentDisposition">attachment;filename=${fileName}</param>
<param name="inputName">inputStream</param>
</result>
</action>
下一篇: BCompare4,30天