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

An easy way for getting a resource from an URL?

From: Wolfgang Martens <martens@nads.de>
Date: Wed, 09 Apr 1997 14:32:22 +0200
Message-ID: <334B8C56.728F@nads.de>
To: www-jigsaw@w3.org

  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.

Received on Wednesday, 9 April 1997 08:32:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:22 UTC