aspose file tools*
The moose likes JSF and the fly likes download file using h:commandLink or h:graphicImage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "download file using h:commandLink or h:graphicImage" Watch "download file using h:commandLink or h:graphicImage" New topic
Author

download file using h:commandLink or h:graphicImage

Akash Singla
Greenhorn

Joined: Jul 22, 2009
Posts: 27
Hi,

I have a created a download Image on a page.
My requirement is that when the user clicks on the download image, he should be able to download the file associated with the Download link.

I'm not able to achieve this because h:commandLink and a4j:commandLink generate href="#"

I'm using JSF with facelets and richFaces

Please help

Thanks
Akash


Member of TheDaedals Club
http://www.thedaedals.com/
Akash Singla
Greenhorn

Joined: Jul 22, 2009
Posts: 27
Found this link,
webpage

Very helpful.

Akash
 
 
subject: download file using h:commandLink or h:graphicImage