Title: Message
Hi,
 
In my JSF application, on selecting download button, I have to download an application (exe).
When I navigate to the download page, and select the download button, It opens Open/Save dialog with file name as <my pagename>.jsf. If I select Open, then another Open/Save dialog pops-up and download happens.
If I select the download button again, blank page is getting displayed.
 
Please help me how I can directly set the exe path as form action. (I can not hard code the path as it is dynamic).
 
Regards,
Kiran
 
-----Original Message-----
From: Feris Thia [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 09, 2006 5:27 PM
To: MyFaces Discussion
Subject: Re: File Downloader

Hi Aleksei,

Will check on it first, thanks.

Regards,

Feris

On 9/9/06, Aleksei Valikov <[EMAIL PROTECTED] > wrote:
Hi.

> Can someone give me a clue how to design a bean that read from a BLOB
> data storage or a file... and then return the result as a downloadable
> file ?

Check implementations of ResourceLoader. There's stuff like
GraphicImageDynamicRenderer etc, that generates downloadable resources in the
runtime. I guess you need to implement somethin similar.

Bye.
/lexi


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Reply via email to