Passing parameters to applets
To pass parameters to an applet you nedd to modify the html code.
By adding a the param tag, you can pass a parameter to the applet.
<Applet Code="MyApplet.class" width="200" height="200">
< param name="name" value="John" />
</Applet>
You can add as many param tags as you like.
Revieving parameters in an applet is easy
String myName = request.getParameter("name");