In any of the JSF libraries, is there any component which works just opposite to <t:inputFileUpload>
, to select the folder (@ client machine) and download a predefined file from the server to client machine's selected folder?
Asked
Active
Viewed 1,315 times
2 Answers
1
It is the browser that shows the browse dialog whenever there's a file it cannot handle.
And files it can't handle are determined by the Content-type. So set your Content-Type
, Content-Disposition
and the likes headers for a specific resource, and add a link to that resource.
This answer has an example.