Hello Patrick, You might be lucky with getting even the parameters (at least in newer Java versions than 1.0) via
class java.applet.Applet The MS-JDK 1.0 Documentation says : <quote> public URL getDocumentBase() Returns: the URL (I-�4.8) of the document that contains this applet. See Also: getCodeBase (II-�4.1.7). </quote> "getCodeBase" is said to get the applet's URL in section (II-�4.1.7). greetings, U. Penski [EMAIL PROTECTED] ; http://uuhome.de/penski ----- Original Message ----- From: "James A. N. Stauffer" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 7:15 PM Subject: [jdjlist] Re: URL of the page that contains an applet > You can probably have your applet call a JavaScript method to get that > info. > --- Patrick Li <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am try to get the URL, including parameters passed to it, of the page > > that contains an applet while running the applet itself. The form of url > > will be something like this: > > > > http://host.com/default.htm?parm1=xxx.yyy > > > > I have searched a few books and google, but didn't get anywhere. Any > > help is appreciated. > > > > Patrick > > > > To change your membership options, refer to: > > http://www.sys-con.com/java/list.cfm > > > ===== > James Amos Nathaniel Stauffer > Stauffer_James > @yahoo.com > Spam food: [EMAIL PROTECTED] > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm > To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
