This method of the IWebBrowser2 interface retrieves the name of the resource that Microsoft® Internet Explorer is currently displaying.
public java.lang.String getLocationName();