我用程序生成了一个workbook.xls
但我再IE里面显示得时候怎么都显示不出来workbook.xls
下面是我得代码,请高手指点!
<%@page contentType="application/vnd.ms-excel; charset=GB18030" %>
<%@ page import="com.alipay.util.excel"%><%
//response.setHeader("Content-disposition","attachment;filename=F://workbook.xls" );
// response.reset();
//response.setContentType("application/vnd.ms-excel");
//response.setHeader("Content-disposition","filename="+"workbook.xls"); excel.writeEXCEL("F://workbook.xls","b"); 网上看到得方法我基本都用了 就是出不来 郁闷啊
但我再IE里面显示得时候怎么都显示不出来workbook.xls
下面是我得代码,请高手指点!
<%@page contentType="application/vnd.ms-excel; charset=GB18030" %>
<%@ page import="com.alipay.util.excel"%><%
//response.setHeader("Content-disposition","attachment;filename=F://workbook.xls" );
// response.reset();
//response.setContentType("application/vnd.ms-excel");
//response.setHeader("Content-disposition","filename="+"workbook.xls"); excel.writeEXCEL("F://workbook.xls","b"); 网上看到得方法我基本都用了 就是出不来 郁闷啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货