Click to See Complete Forum and Search --> : HTML and Applet Communication


April 30th, 2000, 06:00 AM
I think many people had asked this question but none of the answer satisfy me.

If "http://mysite/dir/website.html?NAME=John" is the URL and website.html has an applet, how could the applet get the value of NAME, which is "John"?

If there is a solution to this, I need to know
1.) What should I do inside the applet in order to get the value?
2.) What should I put inside website.html? Do I need to declare variable NAME inside the <Applet> tag with <Param>?

The purpose of I doing this is to able to pass a user name to the applet so that the applet can decide what to do.

I appreciate the help and thanks!

rasikaj
May 15th, 2000, 04:42 AM
You can retrieve value of a parameter inside applet by writing stmt getParameter(<name of parameter>)

Rest is not clear.

RasikaJ