RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebAppComponents.LocateFileService Property

Provides access to the file location service.

Pascal
property LocateFileService: ILocateFileService;
C++
__property ILocateFileService LocateFileService;

Use LocateFileService to get or set the interface of the file location service. The file location service controls access to the templates and server-side script include files that are used while processing requests. 

Typically, LocateFileService is the interface of a TLocateFileService object. If the WebSnap application does not include a component that implements the ILocateFileService interface, the value of this property is nil (Delphi) or NULL (C++). When LocateFileService is nil (Delphi) or NULL (C++), the WebSnap application can still use template files and include files, but you have less control over how the application locates these files (that is, they must reside in the current directory or references to them must be qualified). 

 

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