wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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: 207
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: 60791
    
  65

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Browser closed related issue
 
Similar Threads
posting data not using a form
JDBC JSP
JDBC and Applets
Retrieving data from an Oracle table to jtable
JDBC JSP problem