Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

closing parent window

 
gendhe ranjith kumar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 300
Eclipse IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While opening the parent window name it as

windowParent=window.open();

and when you want to close it you can use

windowParent.close();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic