You can share objects with information relative to one user (using the
Session object), or objects shared by all users ( using
getServletContext().setAttribute() and getServletContext().setAttribute())
See the servlet tutorial at http://java.sun.com/docs/books/tutorial/

You can also share values via hidden fields in html.



-----Original Message-----
From: Daniel Liu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, February 15, 2001 12:34 PM
Subject: Share objects among servlets


>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