FP: Java Applets Fail if Case Is Incorrect in Codebase (170312)



The information in this article applies to:

  • Microsoft FrontPage 97 for Windows with Bonus Pack
  • Microsoft FrontPage for the Macintosh 1.0

This article was previously published under Q170312

For a Microsoft FrontPage 2000 version of this article, see 207567.
For a Microsoft FrontPage 98 version of this article, see 194052.

SYMPTOMS

When you insert a Java Applet into an HyperText Markup Language (HTML) document, the Java Applet may not function if you do not use the same case for the class file in the Web when you enter the file name for the class file in the codebase.

CAUSE

According to the Java programming specification, file names are case sensitive. For example, if the original class file name is MyJavaApplet.class and you entered myjavaapplet.class into the codebase, the Java applet will not load because Java considers these two files to be different.

RESOLUTION

When you specify a class name for a Java applet in the codebase, verify that the upper- and lower-case characters you type exactly match the file name.

Java is manufactured by Sun Microsystems, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Modification Type:MajorLast Reviewed:10/7/2003
Keywords:kbprb KB170312