jsp中将HTML中的table转换成Excel输出

Insert the following code in your jsp. Automatically the dynamic content will be converted to excel .

<%@ page contentType = "application/vnd.ms-excel" %>
<% response.setContentType("application/vnd.ms-excel"); %>

你可能感兴趣的:(J2EE,excel,jsp,table,html,insert)