摘要: public HttpServletResponse download(String path, HttpServletResponse response) { try { // path是指欲下载的文件的路径。 File file = new File(path); // 取得文件名。 String filename = file.getName(); // 取得文件的后缀名。 String ext = filename.substring(fil... 阅读全文
posted @ 2013-08-05 20:23 that 阅读(1008) 评论(0) 推荐(0) 编辑