http://www.phys.virginia.edu/classes/109N/more_stuff/Applets/Piston/jarapplet.html
Another option is to make your own web page on your server that loads the applet. An example follows.
<html><head><title>Page title</title></head><body> <H1>Title of your page</H1> Your text here. <P align=CENTER> <applet codebase="http://galileo.phys.virginia.edu/~ajd2m/applets/" archive="piston.jar" code="PistonApplet.class" width=500 height=400> </applet> <br><A HREF="applet.html">About</A> </body></html>
Lastly, you can download the applet to your own server. Just download the jar file and change the
codebase
tag in the HTML page so it points to your local directory. If the
HTML page is in the same directory as the jar, it would look as follows.
<html><head><title>Page title</title></head><body> <H1>Title of your page</H1> Your text here. <P align=CENTER> <applet codebase="." archive="piston.jar" code="PistonApplet.class" width=500 height=400> </applet> <br><A HREF="applet.html">About</A> </body></html>