Re: ServletContext.getResource() question...

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