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

ServletContext.getResource() question...

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Tue, 07 Mar 2000 10:41:55 +0100
Message-Id: <38C4CEE3.CC336EFF@informatik.med.uni-giessen.de>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>

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
Received on Tuesday, 7 March 2000 04:42:11 UTC

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