We help IT Professionals succeed at work.

java applet update in netscape

jjlee081497
jjlee081497 asked
on
Medium Priority
256 Views
Last Modified: 2008-02-20
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...

Comment
Watch Question

Commented:
Look at the Java Console (under the Options menu in Nestcape) to check if you are getting any exceptions.

Author

Commented:
Edited text of question
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.