W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1997

CacheFilter Question

From: Ranjani Ramamurthy <ranjani@CS.Cornell.EDU>
Date: Wed, 23 Apr 1997 16:33:46 -0400 (EDT)
Message-Id: <199704232033.QAA13720@laddoo.cs.cornell.edu>
To: www-jigsaw@w3.org
Cc: ranjani@CS.Cornell.EDU (Ranjani Ramamurthy)
	I am using a CacheFilter in my Resource and am having a problem
	with modifying the value of the default attribute.

	I would like to be able to change the value of defaultMaxAge
	attribute. I *derived* a class from CacheFilter ( as all attributes
	are protected variables ) - and tried using a setValue();

	int index = CacheFilter.ATTR_DEFAULT_MAX_AGE; ==> which gives me
				  the index into the AttributeRegistry
	Integer new_val = new Integer(<new value>);
	This compiles just fine - but on execution, just hangs - like
	it is stuck on a wait() someplace.

	I have looked at the source code for both Resource as well
	as AttributeHolder and it does'nt seem like any exception is
	being thrown. I also checked to see if ATTR_DEFAULT_MAX_AGE
	matches the actual index in the registry - and it does..

	So whats going on.. All I want to do is to modify the default
	value in CacheFilter. Can somebody please throw some light on

	Thanks in advance,


Ranjani Ramamurthy
Received on Wednesday, 23 April 1997 16:33:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:22 UTC