java applet update in netscape

I've created a form applet where it takes input and
perform calculation and then produce output back on the
screen. It works fine when I bring it up in appletviewer but
when I bring it up in netscape, the output does not
get updated at all. I also tried running the AppletCalculator (the sample code that comes with CoreJavaBook) in netscape and I got the same result.
Can someone help me how to fix this?
I'm running netscape gold 3.01 on solaris 5.5.1.

Thank you!

PS. Thank you to the person who had added comments .
I tried as what you said and I got,
"java.lang.ClassNotFoundException: corejava.Format
at netscape.applet.AppletClassLoader.findClass(Applet....
"
I hope this helps...

jjlee081497Asked:
Who is Participating?
 
vmanochaConnect With a Mentor Commented:
Looks like it is not being able to find the Format class. Check the following items:

 - What is the Codebase set to in the HTML file which has the applet tag ? Probabaly either it won't be set or it should be set to "."

- Threre should be directory by the name of "corejava" under the directory which has the HTML file for the applet. The case is important here. This directory should contain a file called "Format.class". If it doen't, you need to put that there. Check in the classes provided in the corejava package. You may copy all the class files (to be on the safe side) - but maintain the directory structure.

- Also try clearing the Netscape cache (Options -> Net. Prefs. -> Clear Disk Cache, Clear Memory Cache) and the exit and start Netscape again.

Hope this helps.
0
 
vmanochaCommented:
Look at the Java Console (under the Options menu in Nestcape) to check if you are getting any exceptions.
0
 
jjlee081497Author Commented:
Edited text of 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.