aspose file tools*
The moose likes Servlets and the fly likes Browser closed related issue 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 » Servlets
Bookmark "Browser closed related issue" Watch "Browser closed related issue" New topic
Author

Browser closed related issue

Benson Fung
Ranch Hand

Joined: Apr 10, 2003
Posts: 211
Hi,

I have a quick question on the servlet behaviour. If the browser is opened to access some information of a website, the servlet is called to retrieve something from the database. It could take long time to retrieve data from the database. If I close the browser at that moment, will the servlet be killed and stop retrieving data from the database?


Please advise


Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

Depends. Usually, the dropped connection will be detected when the response buffer is being flushed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Browser closed related issue