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:[EMAIL PROTECTED]] > Sent: 21 January 2002 16:06 > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] >
DeliImpl.java
Description: Binary data
deli.xml
Description: Binary data
deliquick.xml
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
