cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: Absolute path of uri within xsp
Date Mon, 27 Oct 2003 19:44:36 GMT
On 27.10.2003 11:41, Wilson, Colin wrote:

> How can I find the absolute path of the requested uri within an xsp
> sheet. I mean this is what I'd LIKE to do.
> 
>       <xsp:logic>
>         String uri = <xsp-request:get-uri as="string"/>;
>         File file=new File(uri);
>       </xsp:logic>
>       <xsp:expr>file.getAbsolutePath()</xsp:expr>

I don't really understand your question. Isn't <xsp-request:get-uri 
as="string"/> already an absolute path?

Joerg


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


Mime
View raw message