The web application has an export button which will download the csv file to the client machine (content-disposition). After completing the csv file download to the client machine, how can I refresh the JSF page. The file transfer is done by using the Servlet.
The logic to refresh the page automatically can not be used here because the user cannot perform any of the operation until the current operation is not completed.
"You can send only one response per request.
Here you want to send two responses: one for the CSV file and another for the reload.