tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Grishchenko" <vlad...@hotmail.com>
Subject Re: Object Sharing
Date Thu, 20 Sep 2001 19:13:11 GMT
ServletContext.setAttribute()
ServletContext.getAttribute()

right?

--V.

----- Original Message -----
From: <rajeshchandra.mikkilineni@amd.com>
To: <tomcat-user@jakarta.apache.org>
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
>
>

Mime
View raw message