• Post Reply Bookmark Topic Watch Topic
  • New Topic

Browser closed related issue  RSS feed

 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66144
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends. Usually, the dropped connection will be detected when the response buffer is being flushed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!