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

An easy way for getting a resource from an URL?

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Wed, 9 Apr 1997 18:00:13 +0200 (MET DST)
Message-Id: <199704091600.SAA09610@www43.inria.fr>
To: martens@nads.de
Cc: www-jigsaw@w3.org

I don't think ther is a lookup method. You will have to cut and paste
(sigh, and re-sigh) the httpd::perform method part that does the
lookup. Or send me that cut&paste and I'll mke it the lookup method of
httpd ;-)

Anselm.

Wolfgang Martens writes:
 > Hi,
 > 
 >   I'm searching for an easy way to get the resource, that is associated
 > with an URL I have in some sort of MyResource.java.
 >   I have the URL as a String (can convert it to URL, I know) and want
 > a reference to MyResource to call some methods of it. I know, that I
 > can call getParent() and request.getClient().getServer().getRoot(),
 > and therefore find the Resource myself, but I thought there must already
 > exist some method for this.
 >   Upto now I did not find it. If I just did not look at the right
 > class, even a little hint could help.
 > 
 > Thanks,
 > 	Christoph.
 > 
 > 
Received on Wednesday, 9 April 1997 12:00:52 GMT

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