jQuery in Action, 3rd edition
The moose likes JSP and the fly likes How to close pop up window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to close pop up window" Watch "How to close pop up window" New topic

How to close pop up window

Mahesh Shiwani

Joined: Oct 04, 2004
Posts: 10
HI All,
I have one JSP which shows some result on a search criteria and shows that in a tabular manner. on that jsp i have a button for "Export to Excel".

what i am doing is on click of that button i am passing the data (which is in session) to another jsp with contect-type as "application/vnd.ms-excel" and mean while one more jsp (popup) which is showing "exporting......".. now problem is when my export to excel is completed how can i close that pop up window...?

as my page has content type "application/vnd.ms-excel".. i can not say body onLoaad=something to close window
b'coz it's no more html page....

suggest solutions......
Thanks in advance.. :-))
I agree. Here's the link: http://aspose.com/file-tools
subject: How to close pop up window
It's not a secret anymore!