FP: Java Applets Fail If Case Is Incorrect In Codebase

Last reviewed: March 18, 1998
Article ID: Q170312
The information in this article applies to:
  • Microsoft FrontPage 98 For Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack
  • Microsoft FrontPage for the Power Macintosh, version 1.0

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 filename 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 matche 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.


Additional query words: 97
Keywords : fpinterop kbole kbdta
Version : windows:97,98; macintosh:1.0
Platform : MACINTOSH WINDOWS
Hardware : MAC x86
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.