cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: DELI Sample, Avalon and getRealPath
Date Mon, 21 Jan 2002 16:05:37 GMT
>
> RE: getRealPath
>
> Currently DELI uses getRealPath in order to locate the Deli Config files.
As
> others have noticed this doesn't work reliably on some APP servers for
WARs
> - any ideas on the correct way to do this?

The correct way is to use:
getResource() - to get the URL of a resource (it can be any resource, even
out of webapp context)
and
getResourceAsStream() - to read the resource.

Regards,
    Konstantin

>
> sorry for all the questions, thanks in advance
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>

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


Mime
View raw message