posted 18 years ago
While you certainly don't have to use DownloadAction when writing an Action that downloads a file, using it would certainly make the process easier. You just have to override one method and Struts does the rest. Below is an example of an action that downloads the file "c:\temp\myPdfFile.pdf".
Believe it or not, that's it. The abstract DownloadAction class handles all the rest.