.The HttpSession class has all the methods you need to store/retieve
objects across requests.
.You can store objects by:
....
HttpSession session = req.getSession(true);
....
session.putValue("myObject",Object);
...
Object obj = (Object)session.getValue("myObject");
.This class has other useful methods, like getValueNames() and
getValue(name[])
.Hope helps,
.javier.
Javier Cazares
GEPS Intranet Web Team, Softtek
1 River Road, Bldg. 40-213
Schenectady, NY 12345
P: (518) 385-1521
Email: [EMAIL PROTECTED]
> -----Original Message-----
> From: Ornelas, Gabriel (CAP, CORP)
> Sent: Wednesday, May 17, 2000 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: session objects with arrays
>
> Hi everyone,
>
> Thanks for your time,
> I'm need to store some information into a a session object does
> anyone know if I can store this information
> as an bidemensional array, such as a matrix ?
>
> Thnaks... Ornelas.
>
> ==========================================================================
> =
> 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