Hi All,
Thanks a lot for the help.....
Ok....Actually what we have in the web page exactly is "Save a Copy" button...
1) The user clicks on the "Save a Copy" button.
2) The button should be disabled..
3) The query will fetch million of records from the database(This will take few minutes)..So we dont want the user to click the button again while processing..
4) Once the processing is done....we open a CSV file from the
servlet program using :
res.setContentType("application/text;name=" + "REPORT.CSV");
res.setHeader("Content-Disposition", "attachment; filename=" + "REPORT.CSV");
5) By doing this...the control goes to the browser and I am not able to enable the button again once the download completes...
Can anybody please help me out .....
[ August 05, 2007: Message edited by: sanju juhi ]