Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Close button not working using window.close method

 
Deepshan Shetty
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

One of my JSP is forwarded from the previous page, the JSP has a close button which is not working now.
It works if the page is redirected.
But need to make this close button working.

I used window.close() now. I had even used self.close(). But none works.

Ca i know any other way to close the window?

Regards
Deepshan
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepshan Shetty wrote:I had even used self.close().

If you want to close current window[which is not opened using open()] then this is what you have to do. by the way: can you elaborate?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic