【轉】Servlet實現文件下載的源碼

一、如何使用 如果此Servlet命名爲download,請求的URL爲:/download?path=xxx,請求後出現下載窗口: 二、源碼 import  java.io.BufferedInputStream; import  java.io.BufferedOutputStream; import  java.io.File; import  java.io.FileInputStream
相關文章
相關標籤/搜索