Use Seesion.putvalue() and getvalue()
-wilson
munu praveen wrote:
> Hi all,
>
> I have an application consisting of multiple servlets.
> I create a session in a servlet, say A, and maintain
> some information in it(users shopping cart).
> Based upon a option selected by a user, this servlet
> calls another servlet, say B, where I need to modify
> the cart based upon the selections made by user.
>
> How do i access the session in servlet B.
> How do i go about mainting the cart across servlets A
> and B.
>
> I am in urgent need.
>
> Any help and code sample will be of great value.
> Thanks.
>
> praveen
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores. Millions of Products. All in one place.
> Yahoo! Shopping: http://shopping.yahoo.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html