Hi,
Can anybody help me to solve following problem:
I have jsp page with the button and status.
1. User presses the button
2. System outputs file for user.
3. User saves file.
4. System starts to refresh page to change status.

Now I know how to output file to user:
Code:
 
private void output(String fileName, String content, HttpServletResponse response)
throws IOException
{
response.setContentType("application/x-file-download");
response.setHeader("Content-disposition", "attachment; filename=" + fileName);
ServletOutputStream outputStream = response.getOutputStream();
outputStream.print(content);
outputStream.flush();
outputStream.close();
}
But I can't understand how to also refresh page.