Re: how to download file (example)

2005-05-11 Thread Fco Javier Jiemnez
tType() sustitute the ContentType of the File part.getInputStream(); sustitute the Stream Data of the File. That's all! - Original Message - From: "Grzegorz Stasica" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 11, 2005 9:30 PM Subject: Re: how to d

Re: how to download file (example)

2005-05-11 Thread Frank W. Zammetti
True... I would however be very willing to bet you can lift the DownloadAction class from 1.2.6 and drop it in 1.2.4 without any problem... As a matter of fact, although I'm not 100% certain, I think the sample app I wrote that you can grab off the Wiki is in fact using 1.2.4... heck, there's a cha

Re: how to download file (example)

2005-05-11 Thread Grzegorz Stasica
Frank W. Zammetti wrote: Hello, Do you want to use the Struts DownloadAction? If so, have a look here: http://wiki.apache.org/struts/StrutsFileDownload Even if you don't want to use it, you may find the example helpful, along with the source for DownloadAction, to help you along. Unfortunatelly I

Re: how to download file (example)

2005-05-11 Thread Frank W. Zammetti
Hello, Do you want to use the Struts DownloadAction? If so, have a look here: http://wiki.apache.org/struts/StrutsFileDownload Even if you don't want to use it, you may find the example helpful, along with the source for DownloadAction, to help you along. -- Frank W. Zammetti Founder and Chie

how to download file (example)

2005-05-11 Thread Grzegorz Stasica
hi, I'm looking for links/examples how to download file in struts action. In action I have OutputStream but what header should I send and the most important how the stram should be send to browser - To unsubscribe, e-mail: [EMAI