File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes closing parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "closing parent window" Watch "closing parent window" New topic

closing parent window

gendhe ranjith kumar

Joined: Mar 28, 2011
Posts: 20
i have link generate excel

when user clicks the link it will generate popup window with jsp page

it has two frames

one contain a jsp to display a animation for file downloading

another contain jsp to generate excel file

after saving excel to the user system

i need to close the parent window

is there any solution for this. please provide suitable solution
carina caoor
Ranch Hand

Joined: Jun 23, 2007
Posts: 300

While opening the parent window name it as;

and when you want to close it you can use

It is sorta covered in the JavaRanch Style Guide.
subject: closing parent window
jQuery in Action, 3rd edition