W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Re: Server root

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Fri, 16 Jul 1999 09:33:16 +0200
Message-ID: <378EE03C.30D33F19@sophia.inria.fr>
To: Augusto Sellhorn <asellhor@ccd.harris.com>
CC: www-jigsaw@w3.org
Well, in the last version getRealPath("/") should return
something like "/etc/jigsaw/...", do you use the last
version?

Regards, Benoit.

Augusto Sellhorn wrote:

> The following (using JSDK 2.1) and jigsaw call returns ...
>
> doGet(...)
> {
>  .getServletContext().getRealPath("/");
> }
>
> returns the String "/", instead of "/etc/jigsaw/install/whatever/".
>
> Is this a bug in the JSDK or jigsaw ? Isn't this supposed to give me
> the root install directory ? I'm wondering if there's a better way
> to get the real root path of my jigsaw installation.
>
> Augusto

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium   (W3C)
                    Architecture domain - Jigsaw Engineer

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Friday, 16 July 1999 03:33:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT