Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to free Connections to a Database

Status
Not open for further replies.

egagnon

Programmer
Mar 22, 2005
1
US
When a forwatd to a JSP page from a servlet, is seems that all the connections are liberated. It's is not the case when a forward to a servlet. I close the connection before I forward but the connection is not liberated.
What is the best way to free a connection? It work when I use the HttpServletsResponse.sendRedirect method, but do you know a better practice?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top