How do I have groups of different clients from different browsers use the
same instance of a bean. I'm not talking about application scope.
Application scope is everyone using the same instance of a bean. I'm
talking about bob and joe using one instance of bean A and ken and barbie
using ano
tate beans, which are shared by different users.
It controls the life of them, along with access.
Mark
- Original Message -
From: "Michael Ni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 3:38 PM
Subject: different clients using the same inst
MAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 17:38 PM
Subject: different clients using the same instance of a bean
> How do I have groups of different clients from different browsers use the
> same instance of a bean. I'm not talking about application
I copied some code I picked up from a website about application and session
scope. Can someone explain how setAttribute and getAttribute works? what
do the actual parameters do? also when i use jsp useBean, i usually have a
name, which is the name of my instance. Where in servlet code does i
vel scope (I have it in a book
somewhere).
Does that help? I think this is essentially what Leandro was referring to
earlier as well.
Mark
- Original Message -
From: "Michael Ni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 4:39 PM
Subject: