• Post Reply Bookmark Topic Watch Topic
  • New Topic

stop query by closing browser

 
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!