Microsoft SDK for Java

DhModule.getModuleHost

Retrieves a string indicating how the module is hosted.

Syntax

public String getModuleHost()

Return Value

Returns a string describing the host type. Currently the possible values are:

"IIS", indicating an Internet server.

"IE", indicating an Internet browser (client side).

"CONSOLE", indicating a console (typically using jview.exe).

"NONE", indicating an unknown host environment.

"other".

Remarks

You can call getModuleHost from your initForm method and adjust your module's behavior as appropriate. For example, if the host is "IIS", creating event handlers on HTML elements has no effect.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.