Applet, find out the host
javax.swing.JApplet or java.applet.Applet
Use the following code to find out the host:
String host = getCodeBase().getHost();
javax.swing.JApplet or java.applet.Applet
Use the following code to find out the host:
String host = getCodeBase().getHost();