This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Excel Download Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Excel Download" Watch "Excel Download" New topic
Author

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
Shiv
Eric Pascarello
author
Rancher

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

Eric
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Excel Download
 
Similar Threads
How do i save a file that has been generated using JSP in excel format .
access denied
Open xls in IE separate window
Problem in opening multiple browser
downloading generated report in JSF