I'm confused on how to correctly specify a applet's code attribute in a webpage. I have an applet with the absolute path of
~/workspace/myProject/bin/A/B/C/app.class
and my HTML is under myProject. app.class has the package declaration of
package A.B.C
How do I specify that the page should first look in bin and then A,B,C? If I stick the page in /bin, I can use
code = "A/B/C/app.class"
and it works fine, but putting it in myProject and trying
code = "bin/A/B/C/app.class"
doesn't work. I think its because of that package declaration but I don't know how to fix it; i can't change the package declaration. Do I need to use . in someway? I've seen that before and used it in another solution but trying with various combinations of . instead of / doesn't work either. As a side question, could someone explain what the difference between . and / is? This just says its used for delineating file type