To create something with session scope just go this way:
session.put(key, value)
Just take a look at the documentation to get every detail on that. The
intrinsic session object is a instance of
javax.servlet.http.HttpSession.
fribeiro
Daniel Erikson wrote:
>
> How do you create a session object in JSP? I can create it in ColdFusion like
> "session.<name> = <some object>", but am unsure how to do it with jsp. Have
> been playing around with the jsp session object but it only seems to work for
> properties not objects. Any help would be appreciated. thanks
>
> ===========================================================================
> 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
===========================================================================
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