RAD Studio VCL Reference
|
TPageDispatcher dispatches incoming HTTP request messages in a WebSnap application.
TPageDispatcher = class(TCustomPageDispatcher);
class TPageDispatcher : public TCustomPageDispatcher;
WebDisp
Add a single TPageDispatcher object to the Web application module of a WebSnap application. Typically, the WebSnap application wizard adds a page dispatcher to the Web application module that it creates.
A WebSnap application only requires a single page dispatcher. The page dispatcher examines all incoming HTTP request messages, checking the pathInfo portion of the URL to which a request is addressed for the name of a registered Web page module. It then forwards the request to the matching Web page module so that the page module can handle the request and produce the content of a response. If the request is not addressed to a URL with a pathinfo portion, the page dispatcher forwards the request to the Web page module identified by its DefaultPage property.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|