tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kotsiras, Alexandros" <AKotsi...@mediaondemand.com>
Subject RE: Application Storage
Date Mon, 16 Oct 2000 15:46:16 GMT
It's like the session and request scope

MyClass mc = new MyClass() ;

getServletContext().setAttribute("name", mc);

mc = (MyClass)getServletContext().getAttribute("name");

-----Original Message-----
From: Craig May [mailto:craig.may@s2.enthdimension.com.au]
Sent: Monday, October 16, 2000 10:26 PM
To: tomcat-user@jakarta.apache.org
Subject: Application Storage


Hi,

Are there any functions to place objects into the Application, similar to
setAttribute and getAttribute for sessions only accessible via all sessions?

Cheers,
Craig May

Enth Dimension
http://www.enthdimension.com.au


Mime
View raw message