This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If you are forwarding to a JSP, any object you want can be attached to the request with setAttribute. However, you better be very sure that the ResultSet gets closed properly, no matter what happens. Bill
Instead of setting objects in the session scope, use request scope. Placing objects in session scope is mainly unfavored because the object will stick around until the session times out. With request scope this is not the case. Here is a FAQ that covers this question and provides a code example. http://www.jspinsider.com/faq/12.view Jayson Falkner email@example.com
Jayson Falkner<br />firstname.lastname@example.org<br />Author of <a href="http://www.jspbook.com" target="_blank" rel="nofollow">Servlets and JavaServer Pages; the J2EE Web Tier</a>