Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is mean by getCodeBase and getDocumentBase method ?
The getDocumentBase() method returns "the URL of 
the document in which the Applet is embedded." It 
actually return the URL of the directory in which 
the document resides.

The getCodeBase() method gets the base URL. This 
is the URL of the directory which contains this 
applet.

It Returns:
the base URL of the directory which contains this 
applet.