日期:2014-05-16 浏览次数:20403 次
<% response.setContentType("application/vnd.ms-excel;charset=GBK"); %>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
response.setHeader("Content-disposition","attachment; filename=jclxsp.xls");
<head xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"> <link rel=File-List href="Book1.files/filelist.xml"> <link rel=Edit-Time-Data href="Book1.files/editdata.mso"> <link rel=OLE-Object-Data href="Book1.files/oledata.mso">
response.getWriter().write("<script>window.close();</script>");