cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: ResourceExists does not work on cocoon: protocol requests?
Date Fri, 27 Aug 2004 14:44:34 GMT
Nicola Ken Barozzi wrote:

> In fact IIUC, in SitemapSource I see:
> 
>     /**
>      *
>      * @see org.apache.excalibur.source.Source#exists()
>      */
>     public boolean exists() {
>         return true;
>     }

The problem is that the only way to actually test whether sitemap source 
exist or not is to try and generate this sitemap resource - which might 
be expensive operation.

So, I don't think there is easy solution to this one.

Vadim


Mime
View raw message