-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Teh,
Teh Noranis Mohd Aris wrote: > I've been working out the applet program since last > night but still could not get it correct. I think that > the codeBase variable path that was initialised in the > applet program is not correct. I put the > LoginApplet.class in > C:\jakarta-tomcat-4.1.31\webapps\myapp\applets. It's > just a matter of writing the codeBase variable the > correct way. If your class really is webide.applets.LoginApplet, then I think you want to put your class file in ...\webapps\myapp\applets\webide\applets\LoginApplet.class I'm not entirely sure how the Java plug-in loads classes, but the docbase is probably like the classpath. Since the classpath is "/myapp/applets", your class should be loadable there using its fully-qualified class name (webide.applets.LoginApplet), which probably means that it expects to be in a subdirectory. Alternatively, you could put everything into a JAR file and use the JAR file as the docbase (instead of a directory). Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFrwpM9CaO5/Lv0PARAh0eAJ0atXt1kPWx6bS4t170N0fno7SMhACdEMEt vPL/jM57XsOS0Eo6gR4MIkY= =LQ9E -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]