Hourglass remains after downloading CSV file


Web tier: servlets, JSP, Web frameworks: Hourglass remains after downloading CSV file

  1. In our code we have a JSP which generates output in CSV format. The user gets the normal IE dialog in which he/she chooses the directory and file name into which the output will be stored on the PC.

    In the servlet this is the code :

    resp.setHeader("content-disposition", "Content-Disposition: attachment; filename=AccrualList.csv");
    forwardToJsp("/someCSV.jsp", req, resp);

    I want to know that if I have set the header correctly ? or is there any other way I can download the dynamic contents in CSV format.

    Any help is appreciated..

  2. I have been facing the same problem, but haven't still found the solution. Did you solve the problem yet?