First, directly translate the contents of the
table> tag in HTML directly through the MS-Office program, Excel <% @ page contenttype = "Application / VND.MS-Excel; Charset = GBK"%> <% response .SetHeader ("Content-Disposition", "Attachment; FileName = Week_report.xls");%> Word <% @ page contenttype = "Application / VND.MS-Word; Charset = GBK"%> <% response.setheader "Content-Disposition", "attachment; filename = week_report.doc");%>
转载请注明原文地址:https://www.9cbs.com/read-90186.html