HI Wiwi,
You don't have to explicitly create a session object in JSP. A new session will be started for every new connection. You will be able to access the session object using the implicit Session Object. Refer to the Javadoc for HttpSession at: http://java.sun.com/products/servlet/2.2/javadoc/index.html Example: Session.setAttribute("name", someObject); someObject = (ClassName) Session.getAttribute("name"); Hope that helps. Raymond Pau "Wiwi Wiwi" <patpatbest@ho To: [EMAIL PROTECTED] tmail.com> cc: (bcc: Raymond Pau/adc) Subject: Session in JSP 05/24/2002 03:11 PM Please respond to "Tomcat Users List" Hi all. Can anyone tell me how to create a session in JSP instead of servlet, and read the value of the attribute that stored in the session using JSP? Thanks. wiwi _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>