response.setContentType("application/txt");
else
response.setContentType(data[0].datatypeContent);
response.setHeader("Content-Disposition", "attachment; filename=" + data[0].name);
f.dumpFile(response.getOutputStream());
response.getOutputStream().flush();
response.getOutputStream().close();
}
private void printPageCheck(HttpServletResponse response, VariablesSecureApp vars, String strTab,