Is there any way of providing a file download from a JSF backing bean action method?
I have tried a lot of things. Main problem is that I cannot figure how to get the
OutputStream of the response in order to write the file content to. I know how to do it with a
Servlet, but this cannot be invoked from a JSF form and requires a new request.
How can I get the
OutputStream of the response from the current