Daniel:

I think you may want to look at "session variables". (This will work if the
servlets you are talking about share the same servlet context.) Search in the
archives maybe under "HttpSession" or "getAttribute/getValue" or
"setAttribute/putValue": these have been discussed a lot. Good luck!

Geeta

Daniel Liu wrote:

> Is there any way that shares objects among different servlets?
>
>  Thanks.
>
> ___________________________________________________________________________
> 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

Reply via email to