cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Butler, Mark" <Mark_But...@hplb.hpl.hp.com>
Subject RE: DELI Sample, Avalon and getRealPath
Date Mon, 21 Jan 2002 17:44:56 GMT
Thanks Konstantin.

Here is an updated version of DeliImpl.java, which uses
getResource() as a fallback for getRealPath(), along with updated
versions of the documentation to reflect some recent changes.

Note DELI still doesn't work when enabled without hacking 
TraxTransformer - I need some advice on the best way to 
solve this. 

thanks,

Mark

> -----Original Message-----
> From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> Sent: 21 January 2002 16:06
> To: cocoon-dev@xml.apache.org
> Subject: Re: DELI Sample, Avalon and getRealPath
> 
> 
> >
> > 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