You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Crabtree <Pa...@dna.co.uk> on 2003/11/26 16:47:26 UTC

[flow] resolving relative paths

Hi.

Im trying to use the exists() method of java.io.File to check something
when using flow, that bit works fine but im unable to resolve my
relative "to sitemap" path into something which File understands. In JSP
i used to use application.getRealPath(), is there something similar i
can use inside flow?

I've seen SourceResolver.resolveURI(uri) but im not sure if thats what i
need as i dont need a Source but a file.

Does anyone have any suggestions? thanks.

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org