Article View: borland.public.jbuilder.java.language
Article #16247Re: How to obtain the URL?
From: Vasudevan Srinivasan
Date: Thu, 11 Mar 1999 00:00
Date: Thu, 11 Mar 1999 00:00
23 lines
1061 bytes
1061 bytes
Hi use getCodeBase() method of the applet. Vasu Thierry Foucu wrote: > 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:
<36E839D6.7174A437@netrisk.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36E815E2.BB44BF32@innovacom.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,c2fec24240da0b9d X-Google-Attributes: gidf74b3,public From: Vasudevan Srinivasan <vasudevan@netrisk.com> Subject: Re: How to obtain the URL? Date: 1999/03/11 Message-ID: <36E839D6.7174A437@netrisk.com> X-Deja-AN: 453949702 Content-Transfer-Encoding: 7bit References: <36E815E2.BB44BF32@innovacom.org> To: Thierry Foucu <Thierry@innovacom.org> Content-Type: text/plain; charset=us-ascii Organization: NetRisk Inc Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language