http://www.knowsky.com/4255.html

解决方案 »

  1.   

    HSSFWorkbook ws=......
     response.reset();
     response.setContentType("application/vnd.ms-excel");
     ws.write(response.getOutputStream());
      

  2.   

    caoxmby(思念的滋味) 您好!
    我用类似你的方法,可是出现新问题:在“事件查看器”中出许多“FontPage”警告的记录行
      

  3.   

    可以正确输出excel文件,但是“事件查看器”的“应用程序日志”中出现多个警告图标:Microsoft FrontPage Server Extensions:
       错误 #d0011 信息: 意外的 HTTP 错误代码: 200。 Microsoft FrontPage Server Extensions:
          (OS 错误 #200 信息: <html>  <head>  <title>???title>  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">  <style>      .link1 {text-decoration: none;color:#00009C}      .link1:hover {text-decoration: underline}  </style>  </head>    <body bgcolor="#FFFFFF" text="#000000">  <table style="font-size:12px" border="0" cellspacing="0" cellpadding="0">    <tr>       <td><font color="FF0000">???????)
      

  4.   

    可以正确输出excel文件,但是“事件查看器”的“应用程序日志”中出现多个警告图标:Microsoft FrontPage Server Extensions:
       错误 #d0011 信息: 意外的 HTTP 错误代码: 200。 Microsoft FrontPage Server Extensions:
          (OS 错误 #200 信息: <html>  <head>  <title>???title>  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">  <style>      .link1 {text-decoration: none;color:#00009C}      .link1:hover {text-decoration: underline}  </style>  </head>    <body bgcolor="#FFFFFF" text="#000000">  <table style="font-size:12px" border="0" cellspacing="0" cellpadding="0">    <tr>       <td><font color="FF0000">???????)