tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: Re: Bizzare bug with my class and sharing values between different instances
Date Fri, 06 Aug 2004 23:07:51 GMT
On Fri, Aug 06, 2004 at 02:57:21PM -0700, Thomas Joseph Olaes wrote:
: For some reason I thought I had to declare a class variable static so
: the different functions inside would be able to access the variable.

Only if those methods themselves are static.

static data = class data = used in a static context
non-static data = (per-)object data = individual to the object

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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


Mime
View raw message