The JSP 0.91 Specification does not provide support for session objects by
default.  This was implemeted in JSP 1.0 and above (correct me if wrong).
You can still create HttpSession objects in your JSP code and work with them
as usual.  You can do something like this:

<% HttpSession currentSession = request.getSession();
      currentSession.putValue(""variable_name", variable_value);
%>

If you would like a copy of the JSP 0.91 specification send me an e-mail.  I
believe that SUN removed it from their web-site some time ago.

William J Ortiz
EDS E.Solutions/BlueSphere
XEEP Buyout
Phone: (716) 427-6892
e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
e


-----Original Message-----
From: Diana Luz Buitrago B. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 6:44 PM
To: [EMAIL PROTECTED]
Subject: session variables


Hello!
i'm working jsp with GNUJSP 0.9.10 compiler and i don't know how i can
define session variables and how to read them from other pages.

i was trying to define them with "session.putValue("variable_name",
variable_value);" but because of the GNUJSP 0.9.10 it appears as not
defined. how can i define them and read them for this compiler?

Diana Buitrago
Webmaster UIS

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to