aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes from servlet wants to close the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "from servlet wants to close the application" Watch "from servlet wants to close the application" New topic
Author

from servlet wants to close the application

kapildev ganeshan
Greenhorn

Joined: Feb 15, 2006
Posts: 17
Hi,
while closing the child window of application I want to remove the attributes from a existing application.For that I submited the form to a servlet while closing the application. From that servlet i have removed my session attribute. Is it possible to close the child window (from where I came).

thank you for advance
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
you can wreite

<script>
window.close();
</script>

in the child window and close it.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: from servlet wants to close the application