I don't think there can be a Restlet equivalent, since there is no single
filesystem root corresponding to a Servlet WAR's "deployment directory."  In
the Servlet world the use of getRealPath() is frequently bad practice
anyway, because many containers don't have to extract WARs.

On 2/13/08, cleverpig <[EMAIL PROTECTED]> wrote:
>
> How to get request running "realpath" just like what does in servlet api?
> In Servlet api,there is a method:request.getRealPath().it can return
> request's realpath.
> How to do that in restlet in order to access LocalFile?
>

Reply via email to