API:Web.HTTPApp.TWebFileDispatcher.VirtualPath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property VirtualPath: string read GetVirtualPath write SetVirtualPath default 0;

C++

__property VirtualPath = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebFileDispatcher

Description

Specifies the URL path to files.

Web.HTTPApp.TWebFileDispatcher.VirtualPath inherits from Web.HTTPApp.TCustomWebFileDispatcher.VirtualPath. All content below this line refers to Web.HTTPApp.TCustomWebFileDispatcher.VirtualPath.

Specifies the URL path to files.

For example, if VirtualPath = 'myfiles', to access the ./index.html file, the following URL would be used: http://localhost:8080/myfiles/index.html.

See Also