APPLET的路径问题.

<APPLET
archive="applet.jar"//如果打包了就加上这一项
id="TestApplet"

CODE = "applet.UploadApp.class"
 //所调用的CLASS.如果打包了.即CLASS上面有packpage  applet时,如上引用.如果没有打包.即为:CODE = "UploadApp.class"

JAVA_CODEBASE = "../" //code所在的位置

WIDTH = "400" HEIGHT = "300"  ALIGN =

"middle" VSPACE = "0" HSPACE = "0" MAYSCRIPT>
</APPLET>


该类目录结构如下所示:
                                                                       根目录:
                                                                             |

                                           abc(目录名)                              applet.jar文件名

                                                       |                                                 |(压缩后目录如下)
                     app.htm(调用APPLET的文件)     applet    org     netscape (三个皆为目录名)
                                                                                                                                              |

                                                                                                                                   UploadApp.class(文件名)

posted on 2005-08-04 12:03  轻松逍遥子  阅读(1146)  评论(0编辑  收藏  举报