doubt : closing recordset

I am creating a jsp web project,Some times I have to fire more than one sql query in a page.whether I have to close recordset,connection,statemet object after each database accessor at the end of each page or at the time of logout