Tag: 互联网浏览器6

Struts 2 +导出到Excel不能在IE6中工作(适用于IE7和Firefox)

我已经使用apache POI实现了导出到struts 2的excelfunction。 它适用于Windows XP上的IE7和Firefox。 但在IE6中不起作用。 popup对话框打开或保存Excel不显示在IE6上。 我没有得到任何错误或例外。 这是结果types。 <action name="exportToExcelRIQueue" class="queuesAction" method="exportToExcelRIQueue"> <result name="export.to.excel" type="stream"> <param name="contentType">application/vnd.ms-excel</param> <param name="inputName">inputStream</param> <param name="contentDisposition">attachment; filename="RequiringInstructions.xls"</param> <param name="bufferSize">1024</param> </result> </action>