User Guide

416 Dynamic Documents
Arguments
None.
Returns
A string that contains the supported scripting languages.
dom.serverModel.getServerName()
Availability
Dreamweaver 1; enhanced in Dreamweaver MX.
Description
Retrieves the server name that is associated with the document and returns that value. The
server name differentiates between server technologies (such as ASP.NET and JSP), but does
not differentiate between languages on the same server technology (such as ASP.NET VB and
ASP.NET C#). Possible values include
ASP, ASP.NET, Cold Fusion, JSP, and PHP.
To retrieve the server model name associated with the document, see
dom.serverModel.getDisplayName()” on page 412 or dom.serverModel.getFolderName()”
on page 412.
Arguments
None.
Returns
A string that contains the server name.
dom.serverModel.getServerSupportsCharset()
Availability
Dreamweaver MX.
NOTE
For Dreamweaver MX, or later, dom.serverModel.getServerName() reads the
serverName property of the object that is returned by a call to the getServerInfo()
function in the Server Models API.
000_DW_API_Print.book Page 416 Wednesday, July 20, 2005 11:58 AM