I have a Pagination using Scriptlet that works great where I am using two database connections to the MySQL database. Now I want to close the connections correctly but cant seem to figure out the best way to do it. I assume for
JSP this is okay to open up the database connections the way this program is running but was wondering how do I correctly close the connections.
My attempt below seems to freeze the page where it wont come up.
Please advise because I have tried several attempts of closing the connections but everytime the page doesnt come up. If I get rid of my try/catch/finally blocks the page works great.
[ May 12, 2007: Message edited by: Mike
Jenkins ]