getCodeBase()
Gets the base URLgetDocumentBase()
Returns an absolute URL naming the directory of the document in which the applet is embedded.
Gets the base URLgetDocumentBase()
Returns an absolute URL naming the directory of the document in which the applet is embedded.
getDocumentBase()得到的是applet存在的html文件所在的目录