🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16244

How to obtain the URL?

#16244
From: Thierry Foucu
Date: Thu, 11 Mar 1999 00:00
16 lines
883 bytes
hi,

i wrote a java applet, using JDK 1.2
and i would like to know if there is a way to obtain the URL of the HTML
page where the applet is?

sample:
if my html page is www.test.fr/applet.html
and in the applet.html, i put the java applet,
i would like from my applet to retreive the URL, www.test.fr

so is it a way to do that?

thierry

ps: sorry to ask, but i very new in java
Technical Details
Message-ID: <36E815E2.BB44BF32@innovacom.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,c2fec24240da0b9d,start
X-Google-Attributes: gidf74b3,public
From: Thierry Foucu <Thierry@innovacom.org>
Subject: How to obtain the URL?
Date: 1999/03/11
Message-ID: <36E815E2.BB44BF32@innovacom.org>
X-Deja-AN: 453895351
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Innovacom
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language