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 <dselt...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org