<%@page import="com.cib.raps.util.BaseUtil"%>
<%@ page import="javax.servlet.http.HttpSession"%>
<%@ page import="java.util.List"%>
<%
//文件名
String fileName = "agent01_011_" + BaseUtil.getDay() + ".txt";
response.setContentType("text/plain;charset=GBK");
response.setHeader("Content-disposition", "attachment; filename=" + fileName);
%>
<%
HttpSession ses = request.getSession();
List<String> exportData = (List<String>) ses.getAttribute("exportData");
out.clear();
for (String data : exportData) {
out.println(data);
}
ses.removeAttribute("exportData");
%>
<%@ page import="javax.servlet.http.HttpSession"%>
<%@ page import="java.util.List"%>
<%
//文件名
String fileName = "agent01_011_" + BaseUtil.getDay() + ".txt";
response.setContentType("text/plain;charset=GBK");
response.setHeader("Content-disposition", "attachment; filename=" + fileName);
%>
<%
HttpSession ses = request.getSession();
List<String> exportData = (List<String>) ses.getAttribute("exportData");
out.clear();
for (String data : exportData) {
out.println(data);
}
ses.removeAttribute("exportData");
%>