You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ovidiu Predescu <ov...@cup.hp.com> on 2002/05/24 02:59:02 UTC
Source.getLastModified() doesn't work
Carsten,
It appears the getLastModified() method doesn't work for file:
URLs. Seems like the Source is caching this information and always
returns the same time stamp, without bothering to check the actual
file. Any ideas what's going on?
Thanks,
--
Ovidiu Predescu <ov...@cup.hp.com>
>>> I'm in the job market again, check out my resume and qualifications at:
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU, Emacs ...)
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Source.getLastModified() doesn't work
Posted by Peter Royal <pr...@apache.org>.
On Thursday 23 May 2002 08:59 pm, Ovidiu Predescu wrote:
> It appears the getLastModified() method doesn't work for file:
> URLs. Seems like the Source is caching this information and always
> returns the same time stamp, without bothering to check the actual
> file. Any ideas what's going on?
You need to call discardValidity() to refresh.
-peter
--
peter royal -> proyal@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org