How to create a file download link ina JSF page?
Suppose you want to create a page and place lots of links in it. What you want is, when your user clicks on a link, it should open the browser's standard Save as dialog box, even if the browser knows how to handle the MIME type. Your user can then choose a location to save the file and move on. How to do this using a hyperlink component in Sun Java Studio Creator 2?
Read more about the tip at
http://winstonprakash.com/articles/jsf/file_download_link
Posted at 07:27PM Nov 13, 2005 | Permanent link to this entry
Posted by Cassim on November 20, 2005 at 05:11 PM PST #
Posted by Ivanb on April 12, 2006 at 11:39 AM PDT #
Posted by eebora on September 21, 2006 at 03:00 AM PDT #
Posted by eebora on September 22, 2006 at 12:25 AM PDT #
Posted by S.Sasikumar on November 02, 2006 at 11:14 PM PST #
Posted by S.Sasikumar on November 02, 2006 at 11:15 PM PST #
Posted by dElay on March 08, 2007 at 03:11 AM PST #
Posted by 61.11.49.185 on March 26, 2007 at 07:15 AM PDT #
Posted by wales on July 19, 2007 at 12:33 PM PDT #
Thanks for the Tips!
I have few questions need your advice.
1)what will happen when the client connection is broken while downloading a very huge file?
In my environment, the page process overload the server.
2)how to support resume for the previous case.
Posted by Kenny on August 15, 2007 at 03:39 AM PDT #
trhdfgh
Posted by 72.71.210.123 on November 21, 2007 at 02:40 PM PST #
Is it possible to achieve the above mentioned solution using html and javascript alone?
Posted by Diksha on February 08, 2008 at 03:36 AM PST #