I am trying to download an excel sheet from servlet response.
When I click on link which sends request to server for returning an excel sheet, save/save as dialog box gets opened asking to save the excel sheet. This is an expected behavior.
But in between, if I try to use IE 6 or below version, then it opens up new window after clicking on the link. And then opens up Save/Save As dialog box.
Other operations run as expected, but the problem is, the new window displays the message Can't open the page.
Is there any way, I can avoid opening of this new window?
I want Save/Save As dialog box directly appear in the same window from which link has been clicked.
Please help.