JavaCheckType Property

 

Type: Integer

 

The JavaCheckType property can be used to delay loading of the applet BrowserHawk uses to test for Java and for some Java based tests. This applies to the JavaVendor, JavaVersion, Plugin_Javaver, OSArch, the extended property tests for OSName, OSVersion, and OSDetails, as well as the BrowserBitSize property (in some cases).

 

Delayed loading of the applet may be useful for edge cases where these Java based tests for a particular user or users are not able to return the expected results. It may also be useful if you are using a custom htmlForBodyTagAsString parameter in your call to GetExtProperties to set the HTML used in your "Please wait..." temporary page while testing for these Java based properties, allowing your customized HTML to show much more quickly. Note that this is an advanced setting. Outside of these cases, generally the JavaCheckType should be kept at its default of 0 unless you have a specific reason to change it.

 

Valid settings for this property are 0 (default, do not use delayed loading) and 1 (use delayed loading).

 

Note: If setting this property you must do so prior to calling the GetExtProperties method.

 

Example:

<% set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "JavaVersion"

bhObj.JavaCheckType = 1

bhObj.GetExtPropertiesEx

%>

<html>JavaVersion is: <% response.write bhObj.JavaVersion %> </html>

 

 

See Also:

Detecting Extended Properties

Additional Steps Required for Java Based Properties

htmlForBodyTagAsString parameter