I make a request to
servlet which contains code to get a connection to a remote database, assign resultset data to an array, close connection, then display that array in a form. What happens if the user makes the request then closes the browser before the data is received and the close connection is never called. How can I make sure the close connection is aways ran if a connection is made?