<%@ page contentType="text/html; charset=GBK" %>
<%
String filename="test.xls";
response.setContentType("APPLICATION/OCTET-STREAM");
response.setHeader("Content-Disposition", "attachment;fileName=\"" + filename + "\"");
%>
<%
String filename="test.xls";
response.setContentType("APPLICATION/OCTET-STREAM");
response.setHeader("Content-Disposition", "attachment;fileName=\"" + filename + "\"");
%>
Not pilot found for APPLICATION/OCTET-STREAM
Click Save to save the the content of
http://localhost:8080/WebModule1/jsp2.jsp