Sorry everybody. I don't understand why I didn't see the last part of that wiki page. Sorry again.
Another question: I use a BaseAction to make sure that everybody who accesses all my actions in the application must login first. This is what I do: abstract class BaseAction extends Action { public execute(....) { // check some session-scoped variables to make sure that this user logged in already. executeAction(....); } abstract executeAction(....); } class AllOtherActions extends BaseAction { executeAction(....) { // do something here } } So OurOwnDownloadAction cannot extend both DownloadAction and BaseAction. What do you suggest? Do you think making BaseAction extend the DownloadAction is the only choice? Sincerely, Thai -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 1:47 PM To: user@struts.apache.org Subject: RE: Specify a file name when using DownloadAction Vu, Thai asked > I looked at these examples > (http://wiki.apache.org/struts/StrutsFileDownload) on using > DownloadAction and saw nothing like your code :( So I wonder > if you could post your whole Action file here. Did you look at http://wiki.apache.org/struts/StrutsFileDownload#head-188719b69a6e7f2c42 d6cafef3ffab61e6129539 ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]