Hi Howard,
Every JSP page has an implicit instance of HttpSession, called 'session'.
You can use it for session management.
Regards, Anurag
Howard Lee <[EMAIL PROTECTED]> on 04/24/2000 11:01:14 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Anurag Panda/India/IBM)
Subject: Diff. between HttpSession and <jsp:useBean>
Hi,
I'm new to JSP, and have a question about how I should go about doing a
session management. I'm used to creating a HttpSession object and do
putValue and getValue on it, and I've seen a JSP example that uses a java
bean to store and retrieve values. It seems to me that if I use
<jsp:useBean
scope="session"> to a bean, this is pretty much what an HttpSession object
is. Am I right about this or I'm mistaken? Thanks.
howard
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets