W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: ServletContext.getResource() question...

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Tue, 07 Mar 2000 11:02:56 +0100
Message-ID: <38C4D3D0.92DC519D@sophia.inria.fr>
To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
CC: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
It WAS a bug, I fixed it a few days ago. it works with the last developer
release. Updated with 2.1.0 but not yet with 2.0.4. Yves will update the
classes asap.

Regards, Benoit.


Regards, Benoit.

Roland Mainz wrote:

> Hi !
>
> ----
>
> Can someone (Benoit ?) explain why Jigsaw's ServletContext.getResource(
> "/" ) doesn't return the WWW root ?
> I tried it from a servlet in /servlets, and the returned URL was
> file:/home/jigsaw/Jigsaw/Jigsaw/WWW/servlets - I expected
> file:/home/jigsaw/Jigsaw/Jigsaw/WWW/ ;-(
>
> ----
>
> Bye,
> Roland
>
> --
>   __ .  . __
>  (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
>   \__\/\/__/  gisburn@informatik.med.uni-giessen.de
>   /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
>  (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359

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

                http://www.w3.org/People/Mahe  - bmahe@w3.org
---------------------------------------------------------------------
Received on Tuesday, 7 March 2000 05:03:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:07 UTC