要被下載的檔案先寫入到一個特定的目錄下如/WEB-INF/export,然後呼叫download .jsp?file=targetFileName取得,下載後並將檔案刪除。 程式碼:
www.andowson.com