cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <>
Subject Re: [Flowscript] Obtaining servlet context directory
Date Fri, 21 May 2004 08:52:57 GMT
David Leangen wrote:

> Is anybody able to tell me how to get the context path from flowscript?
> I noticed some threads on the subject, but wasn't able to find any
> answers...
> For example:
> I'd like to be able to access a file from within my webapp, but I keep
> getting a "FileNotFoundException" because I'm not able to get the context
> from within flowscript.

I think you could obtain a SourceResolver and resolve
the URI "context:///".

-- Andreas

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message