Please take me off the List. I tried.

-----Original Message-----
From: Michael Hu [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 20, 1999 8:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Jsp Session variables


Chris Mcgarel wrote:

> Is there a jsp equivalent of the asp session variable syntax:
session("foo")
> = "whatever"?

Use the session implicit variable, ie:
<%
session.setAttribute("foo", "whatever");
out.print((String) session.getAttribute("foo")); // will print "whatever" if
you
are in the same session
%>

--
Michael Hu, Paradox Team, Corel Corporation

===========================================================================
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

Reply via email to