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.
At jsp: <%@ page session="true"%> or if you don�t want to create one <%@ page session="false"%> note that the true value is the default and if you wanna use a session in your jsp you don�t have do do nothing at servlets: HttpSession s = request.getSession(true); this command creates a new session if one already is not created and if so just recovers the session.
HttpSession s = request.getSession(false); this command recovers a session already created but if one doesn�t exist don�t create one.
and you can use: setAttribute(String name, Object value); to bind your javabeans to the session and then recover them with: getAttribute(String name); and don�t forget to cast it back to it�s type.