Is it possible?

Is it possible to point to a class in a different location using html when starting the applet?
[102 byte] By [JavaBean5a] at [2007-11-27 5:25:46]
# 1

You can use the codebase parameter of the applet tag to anything...

<applet codebase="http://somewherelese.com/applet/" code="com.my.Applet.class" archive="applet.jar">

...

Where the code is the class in the jar, the jar is in the directory defined by codebase. Codebase does not need to be the same server as the web site, but the applet can only talk to the server defined by codebase. (unless signed)

bsampieria at 2007-7-12 14:46:05 > top of Java-index,Java Essentials,New To Java...