• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to close pop up window

 
Mahesh Shiwani
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.. :-))
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic