On 14 Aug 2001 [EMAIL PROTECTED] wrote:

> All,
> 
>     I am curious if anyone has written an action class that will
> download a file to the browser.  Not have the browser open a file, but
> have the download box popup everytime after a action.  I know how to
> set the header information and mime type, but what do you return for
> the ActionForward.
> 

For this purpose, you will need to actually *do* the download in your
Action.  Then, you return null instead of an ActionForward instance.  This
tells Struts that you have already handled the response so that it does
not need to.

> Thanks
> 
> Jeff Krueger
> 
> 
> 

Craig


Reply via email to