cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: proposal: entity resolution capability
Date Tue, 21 Aug 2001 13:50:55 GMT
Please try the following.

        try {
            URLFactory urlFactory = (URLFactory)this.manager.lookup(URLFactory.ROLE);
            URL url = urlFactory.getURL("context://resources/entities/catalog");
        } catch (Exception e) {
            log.error("cannot obtain the URLFactory", e);
            throw new SAXException ("cannot obtain the URLFactory", e);
        } finally {
            if(urlFactory != null) this.manager.release((Component)urlFactory);
        }

Thanks,
dims

> The only configuration information that we need to know
> is the full run-time pathname to the default catalog
> file which will be at webapps/cocoon/resources/entities/catalog
> We should leave the CatalogManager.properties file for
> local configuration.
> 
> Any clues on how to determine that pathname are appreciated.
> cheers, david


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message