cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
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: http://marc.theaimsgroup.com/?t=107104826800001&r=1&w=2
> 
> 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message