Of course some variable can be submitted with the form to indicate to the Action which file should be sent to the browser. As for sending the content to the browser, you can just write the content to the response body (assuming that you have set the content type correctly) .
Viral_Thakkar wrote:
I have a screen which provides support to upload and download the files.
To upload the files, I am using the struts example.
Now, I need to know how to implement the "download/display details" functionality.
Regards, Viral
-----Original Message-----
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 3:14 PM
To: Struts Users Mailing List
Subject: Re: downloading of files
I assume that your Action prompts the user (the guy using the browser) to save the file ?
Viral_Thakkar wrote:
Is there any struts support to download the files?
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]

