File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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/" 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/".. 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:
subject: How to close pop up window
It's not a secret anymore!