Re: Server root

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 UTC