Could you please give me best solution for the below requirement.
When we clicking on hyperlink in JSP page following actions need to work.
a) Open a popup window and display as "Downloading..." b) Read the data from the database and download the data in excel format
c) After downloading the excel file, existing popup window need to close automatically.
Here I have a doubt that how to trace the excel file is downloaded or not where can i handle for closing the popopwindow
1> Open one popup using window.open
2> In popup JSP ,call a JS function fron <body Onload="DwonLoad()>
3> Inside the function you do a Ajax call and trace all the state of your call......initially display one flash image where thiss will show "downlading....."
4>After completing you close your popup using js inbuild function
Thanks And Regards
Goutam Chowdhury (Scjp1.4 86%,SCWCD5 94%)