DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    3

    Thumbs up Please help to solve this problem

    Dear All,
    I want to call a servlet as soon as the browser close button is clicked to close a web page.Please let me know how this can be done
    Thanks in advance.
    Saibal

  2. #2
    Join Date
    Oct 2004
    Posts
    311
    in the body tag, you can include an attribute called "onunload".
    It should also be possible to do this with client side javascript by registering some function with some unload event. not sure how this is done however.

Similar Threads

  1. Replies: 4
    Last Post: 03-04-2005, 01:55 PM
  2. How can I solve this problem?
    By ignite in forum Java
    Replies: 8
    Last Post: 02-27-2005, 08:59 AM
  3. Replies: 0
    Last Post: 07-23-2003, 08:14 PM
  4. solve this problem urgently
    By manish jaiswal in forum ASP.NET
    Replies: 2
    Last Post: 05-08-2003, 04:14 PM
  5. Reliability Problem
    By elise in forum Java
    Replies: 0
    Last Post: 10-30-2002, 04:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links