class not found

When I run the clock demo from my computer (win95) the example.html loads the clock applet properly.  If I copy clock2.class, clock2.java, and example.html to my server (sparc running apache 1.2.5) the applet doesn't run and I get a clock2 class not found error in the status bar.  Any ideas?
BoBAsked:
Who is Participating?
 
froderikConnect With a Mentor Commented:
Ok, I'm glad it worked.
0
 
froderikCommented:
I suggest that you check the following.
- Did the case of the filename remain?
- Did you copy the class file in binary mode? (If using ftp.)
- Check the HTML file, does the applet tag have any absolute references to the location of the applet. (It shouldn't but you never know...)

Hope this helps

Fredrik
0
 
BoBAuthor Commented:
I was able to get the applet to work by removing the codebase= parameter of the applet tag.  Any ideas as to why this would work and if it's an acceptable solution?
0
 
froderikCommented:
I think codebase should point to the URL where the applet is located. If the applet is in the same directory as the HTML source file it doesn't need to be specified.
0
 
BoBAuthor Commented:
good enough for me.  you can answer the question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.