cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hartle <>
Subject Re: Source.getLastModified() doesn't work
Date Fri, 24 May 2002 05:18:47 GMT
Ovidiu Predescu wrote:

>On Thu, 23 May 2002 21:10:01 -0400, Peter Royal <> wrote:
>>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.
>But Cocoon's Source interface doesn't have such a method. What's the
>solution then?
If I am not mistaken, the "old" Cocoon Source is a ModifiableSource, so 
a refresh() should help.

Best regards,

Michael Hartle,
Hartle & Klug GbR

To unsubscribe, e-mail:
For additional commands, email:

View raw message