If I set to context it will confined to single servlet right...
-----Original Message-----
From: Vladimir Grishchenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 12:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Object Sharing
ServletContext.setAttribute()
ServletContext.getAttribute()
right?
--V.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 10:52 AM
Subject: Object Sharing
>
> Hi
>
> I want to have single instance of x class to be referenced in all the
> Servlets requests and applied singleton pattern. Right now one instance
for
> servlet is created. How can use single instance of X class in all the
> servlets.
>
> Thanks
>
> Rajesh
>
>