lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mindaugas Žakšauskas <min...@gmail.com>
Subject Re: Servlets Sharing Resources
Date Tue, 21 Apr 2009 16:47:50 GMT
Hi,

Generally speaking, yes - this is the most straightforward way of
storing application-bound data.
Somewhat related explanation available here:
http://www.coderanch.com/t/358143/Servlets/java/servlet-context-vs-session

Regards,
Mindaugas

On Tue, Apr 21, 2009 at 5:23 PM, David Seltzer <dseltzer@tveyes.com> wrote:
> Thanks Minduagas,
>
> So in Tomcat, is there a way to store a variable outside an individual Servlet in the
ServletContext? The API shows ServletContext.setAttribute and ServeletContext.getAttribtue.
Would that be a way to make an object application-bound?
>
> -Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message