Embedding JApplet with packages in HTML

I want to use a JApplet in a HTML page. It works great if I don't use any packages. I use the standard code

<applet><applet width="600" height="300" code="NameOfClass.class">

But as soon as I assign my class to a package, I get a ClassNotFound Error from the Java plugin. I placed my class in a directory according to my package (ex. /ch/url/name)

I then added

codebase="./ch/url/name"

to my <applet> tag.

What am I doing wrong!?

Thanks for any help

[621 byte] By [sockena] at [2007-10-3 8:58:10]
# 1
OK, another thread gave me the answer: http://forum.java.sun.com/thread.jspa?threadID=781996&tstart=0I don't need the codebase parameter, I just need to specify code=myPackage.myClass.classActually quite easy if you know how... ;-)
sockena at 2007-7-15 4:08:40 > top of Java-index,Desktop,Core GUI APIs...