Yep. HttpSession. On a JSP page you use session.putValue("NAME", object) and
session.getValue("NAME").

There are other ways too. If its a REQUEST only, then use
request.setAttribute() and request.getAttribute(). Only use this if you are
using a scope of request though..otherwise if you store things in there and
redirect to another page, chances are it will not exist on that next
page..hence, use session in this case.

Also look up the use of javabeans on JSP page. Look into Model 1, Model 1.5
and Model 2. There are a few ways to do this stuff.

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

Reply via email to