Identifies the application server you are running.
PSServerClass object
psServer.ObjectModelType( )
String
At runtime, ObjectModelType has the following behavior:
| Application server | Runtime behavior | 
|---|---|
| ASP | Returns the string “ASP” | 
| JSP | Returns the string “JSPObject” | 
The following example tests to see which application server is running and performs platform-specific logic that varies depending on the outcome of the test:
servertype = psServer.ObjectModelType( );
if (servertype == "ASP")
		{
// Perform ASP-specific logic
}
if (servertype == "JSPObject")
		{
// Perform JSP-specific logic
}