You have to use the session tracking API: a session object. That's for
keeping data between servlets.
At 12.07 28/2/01 +0530, you wrote:
>Hello:
>How do I share some data between servlets? Say... I have to set a date
>in one servlet and access the same from other servlet. I don't want to
>use static variables (due to some constraints). This should also ensure
>that if more than one users log in and set different dates... the
>respective dates should be retrieved by the servlet that fetches it.
>Any suggestions?
>Manish
>
>
>--
>+------------------------------------Live-Your-Dream----+
>Obstacles are things a person sees when he takes his eyes off his goal.
>-E. Joseph Cossman
>
>___________________________________________________________________________
>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