> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Reeta Mittal
> Sent: 04 December 1999 12:05
> To: [EMAIL PROTECTED]
> Subject: Session Variables

> My requirement is to store a recordset as a part of session
> variable. Can I
> do this ?
> Is there any concept of session variables in JSP just like we
> have in ASP ?

Yes.

See the 'session' object (javax.servlet.http.HttpSession) into which you can
store any objects and retrieve them later by name.
Alternatively you can write a bean and use scope=session in the
<jsp:usebean> tag.

HTH,

Steve

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to