I have a jsp on which there is a table and a hyperlink to Export the same table into excel sheet. According to the functionality, it is required that on clicking Export, a blank pop up without address bar and other toolbars will be opened and on that empty pop up, the dialog box for Open, Save or Cancel Excel file will come.
Now, if the user clicks on open, the excel file opens in the pop up. But if user clicks on either save or cancel, in the both cases, the blank pop up remains opened. Please suggest the ways to close it automatically when save or cancel is clicked.