Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

stop query by closing browser  RSS feed

 
Tracey Currier
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know a good way to stop a servlet that is in the middle of executing a query with alot of output? The servlet generates an HTML page that displays the result of a query. When I close the browser window, the query continues then when I
access the servlet if the query has not stopped, I receive data from the middle of the query and not at the start as I would like.
 
PC RE
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

create a query bean and initialize it in the 'request' scope.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!