my dog learned polymorphism
The moose likes HTML, CSS and JavaScript and the fly likes Excel Download Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Excel Download" Watch "Excel Download" New topic

Excel Download

ShivPrakash Srivastava
Ranch Hand

Joined: Mar 24, 2005
Posts: 88
Hi All

Iam displaying the data in excel format.When I try to download the data I get three option namely open,save and cancel.When I save the excel report using the save option it saves the excel report but the window still remains open.I want to close the window on click of the save option.Does anyone has the idea of How to do that?

Thanks and Regards
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
It is browser behavior, I do not think you are going to avoid this.

I agree. Here's the link:
subject: Excel Download
It's not a secret anymore!