http://java.sun.com/getjava/download.html

解决方案 »

  1.   

    This is a popular one! Make sure that all the class files (some applets need more than one) are in the same directory as your web page and any other related files (like images or sound files). If the "codebase" attribute is in the first line of the applet's HTML, just remove it. If there are any special requirements for a particular applet (like a special directory name for the images), it should be in its downloaded zip, or mentioned on the preview page. - If you FTP the files, upload the class files in the binary mode 
      

  2.   

    我的.class file和.html file是在相同的目录下,
    并且环境变量classpath中已经包含该目录。
    还是不好用。why?
      

  3.   

    我的.class file和.html file是在相同的目录下,
    并且环境变量classpath中已经包含该目录。
    还是不好用。why?
      

  4.   

    我的.class file和.html file是在相同的目录下,
    并且环境变量classpath中已经包含该目录。
    还是不好用。why?
      

  5.   

    是不是应该将.class file放在你自己的目录的子目录WEB-INF的子目录CLASSES中呢?
    yourApplicationDirectory/web-inf/classes中
      

  6.   

    还是不好用啊!
    在我的磁盘上没有该目录,我是新建的web-inf/classes,然后将.class文件置于其中,还是显示找不到该.class文件。