文章列表
public static final void downloadfile(HttpServletRequest request, HttpServletResponse response, String path, String fileName)
{
File downloadFile = null;
File file =new File(path);
//判断存在
if(file.exists()){
//为文件夹,下载文件夹内文件
if(file.isDirectory()){
String[] children ...