aspose file tools*
The moose likes JSP and the fly likes Close button not working using window.close method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Close button not working using window.close method" Watch "Close button not working using window.close method" New topic
Author

Close button not working using window.close method

Deepshan Shetty
Greenhorn

Joined: May 28, 2012
Posts: 28
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

Joined: Jan 28, 2008
Posts: 5575

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Close button not working using window.close method