RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IPageDispatcher.DefaultPageName Property

Indicates the Web page module that should handle requests that do not include a Web page module name in the pathinfo portion of their target URL.

Pascal
property DefaultPageName: string;
C++
__property AnsiString DefaultPageName;

DefaultPageName is the name of the registered Web page module that should handle incoming request messages that do not have a pathinfo portion on their target URL. This is the name that is supplied to the Web page module wizard when you created the default Web page module. It forms the basis of that Web page module's class name. For example, if the default Web page module has the name MyDefaultPage, the Web page module class is of type TMyDefaultPage. 

If DefaultPageName is an empty string, the page dispatcher uses the Web application module as a default Web page module, as long as it is a TWebAppPageModule object. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!