>
> 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to